change structure to make it more readable

This commit is contained in:
lucy 2026-07-30 17:20:40 +02:00
commit ad86712653
31 changed files with 259 additions and 234 deletions

View file

@ -1,31 +0,0 @@
{
config,
inputs,
pkgs,
...
}:
{
wayland.windowManager.hyprland = {
enable = true;
package = null;
systemd.enable = false;
extraConfig = ''
require("main")
'';
portalPackage =
pkgs.xdg-desktop-portal-hyprland;
};
xdg.configFile."hypr/main.lua".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/home/hyprland.lua";
xdg.portal.config = {
common = {
default = [ "gtk" ];
};
hyprland = {
default = [ "hyprland" ];
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
];
};
};
}