refactor: move asset location

This commit is contained in:
Nydragon 2024-07-27 16:03:44 +02:00
parent 874b149328
commit 94caeba566
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
4 changed files with 14 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 308 KiB

View file

@ -1,11 +1,11 @@
{ self, ... }:
{ {
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = settings =
let let
wp = ./wallpaper.jpg; wp = "${self}/assets/wallpapers/nix-flake-pastel.jpg";
in in
{ {
ipc = "on"; ipc = "on";
preload = [ "${wp}" ]; preload = [ "${wp}" ];

View file

@ -1,7 +1,12 @@
{ self, ... }:
{ {
home-manager = { home-manager = {
backupFileExtension = "backup"; backupFileExtension = "backup";
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = {
inherit self;
};
verbose = true;
}; };
} }

7
modules/sddm.nix Normal file
View file

@ -0,0 +1,7 @@
{
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
autoNumlock = true;
};
}