diff --git a/flake.nix b/flake.nix index eaf39ff..39c95df 100644 --- a/flake.nix +++ b/flake.nix @@ -19,10 +19,7 @@ homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; - modules = [ - hyprland.homeManagerModules.default - { wayland.windowManager.hyprland.enable = true; } - ]; + modules = []; }; }; } diff --git a/home.nix b/home.nix index d771f9f..51ce308 100644 --- a/home.nix +++ b/home.nix @@ -11,6 +11,7 @@ in { ./rofi/settings.nix ./i3/i3status-rust.nix ./dunst/settings.nix + ./hyprland/settings.nix ]; home-manager.users.zoe = { diff --git a/hyprland/hyprland.config b/hyprland/hyprland.config index 62b573f..17dd7c4 100644 --- a/hyprland/hyprland.config +++ b/hyprland/hyprland.config @@ -9,8 +9,6 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # For a full list, see the wiki # -autogenerated = 1 # remove this line to remove the warning - # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto diff --git a/hyprland/settings.nix b/hyprland/settings.nix index 060c5ed..8af2c20 100644 --- a/hyprland/settings.nix +++ b/hyprland/settings.nix @@ -1,4 +1,7 @@ { pkgs, config, ... }: { - xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf; + home.file.".config/hypr/hyprland.conf" = { + enable = true; + source = ./hyprland.conf; + }; }