forked from Shinonome/dots-hyprland
removed attr from hypr
This commit is contained in:
+12
-10
@@ -17,16 +17,20 @@ in {
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
|
||||
settings = lib.mkMerge [
|
||||
(import ./hyprland/hypr/keybinds.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/exec.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/rules.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/env.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/colours.nix {inherit config pkgs;})
|
||||
];
|
||||
settings = lib.mkIf cfg.settings.hyprland.useNixForConf (
|
||||
lib.mkMerge [
|
||||
# These imports must be functions that return an attribute set.
|
||||
(import ./hyprland/hypr/keybinds.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/exec.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/rules.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/env.nix {inherit config pkgs;})
|
||||
(import ./hyprland/hypr/colours.nix {inherit config pkgs;})
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
home.file = lib.mkMerge [
|
||||
# The home.file configuration is now split into two mutually exclusive blocks.
|
||||
(lib.mkIf cfg.settings.hyprland.useNixForConf {
|
||||
".config/hypr/scripts" = {
|
||||
source = builtins.path {
|
||||
@@ -41,8 +45,6 @@ in {
|
||||
path = ../../.config/hypr;
|
||||
};
|
||||
};
|
||||
})
|
||||
{
|
||||
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};
|
||||
".config/kitty".source = builtins.path {path = ../../.config/kitty;};
|
||||
".config/foot".source = builtins.path {path = ../../.config/foot;};
|
||||
@@ -52,7 +54,7 @@ in {
|
||||
".config/wlogout".source = builtins.path {path = ../../.config/wlogout;};
|
||||
".config/Kvantum".source = builtins.path {path = ../../.config/Kvantum;};
|
||||
".config/xdg-desktop-portal".source = builtins.path {path = ../../.config/xdg-desktop-portal;};
|
||||
}
|
||||
})
|
||||
];
|
||||
|
||||
home.packages =
|
||||
|
||||
Reference in New Issue
Block a user