diff --git a/modules/desktop-environments/hyprland.nix b/modules/desktop-environments/hyprland.nix index 1151441..72b106c 100644 --- a/modules/desktop-environments/hyprland.nix +++ b/modules/desktop-environments/hyprland.nix @@ -25,12 +25,6 @@ description = "Additional plugins for Hyprland"; default = [ ]; }; - - sourceFiles = lib.mkOption { - type = lib.types.listOf lib.types.str; - description = "Config files to source"; - default = [ ]; - }; }; config = lib.mkIf config.modules.hyprland.enable { @@ -49,9 +43,7 @@ enable = true; xwayland.enable = true; plugins = config.modules.hyprland.plugins; - settings = config.modules.hyprland.additionalConfig // { - source = config.modules.hyprland.sourceFiles; - }; + settings = config.modules.hyprland.additionalConfig; }; xdg.portal = { diff --git a/profiles/hulk/programs.nix b/profiles/hulk/programs.nix index 550502a..a46cdb7 100644 --- a/profiles/hulk/programs.nix +++ b/profiles/hulk/programs.nix @@ -17,7 +17,7 @@ enable = true; additionalPackages = with pkgs; [ hyprshot ]; plugins = with pkgs.hyprlandPlugins; [ hyprspace ]; - sourceFiles = [ + additionalConfig.source = [ "~/.config/hypr/config/animations.conf" "~/.config/hypr/config/autostart.conf" "~/.config/hypr/config/binds.conf"