diff --git a/home/hyprpaper/wallpaper.jpg b/assets/wallpapers/nix-flake-pastel.jpg similarity index 100% rename from home/hyprpaper/wallpaper.jpg rename to assets/wallpapers/nix-flake-pastel.jpg diff --git a/home/hyprpaper/default.nix b/home/hyprpaper/default.nix index f6de3cc..fa1f318 100644 --- a/home/hyprpaper/default.nix +++ b/home/hyprpaper/default.nix @@ -1,11 +1,11 @@ +{ self, ... }: { services.hyprpaper = { enable = true; settings = let - wp = ./wallpaper.jpg; + wp = "${self}/assets/wallpapers/nix-flake-pastel.jpg"; in - { ipc = "on"; preload = [ "${wp}" ]; diff --git a/modules/home-manager.nix b/modules/home-manager.nix index e859cf2..9f7c906 100644 --- a/modules/home-manager.nix +++ b/modules/home-manager.nix @@ -1,7 +1,12 @@ +{ self, ... }: { home-manager = { backupFileExtension = "backup"; useGlobalPkgs = true; useUserPackages = true; + extraSpecialArgs = { + inherit self; + }; + verbose = true; }; } diff --git a/modules/sddm.nix b/modules/sddm.nix new file mode 100644 index 0000000..56b04eb --- /dev/null +++ b/modules/sddm.nix @@ -0,0 +1,7 @@ +{ + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + autoNumlock = true; + }; +}