diff --git a/src/user/configs/default.nix b/src/user/configs/default.nix index b76bc85..5851ff1 100644 --- a/src/user/configs/default.nix +++ b/src/user/configs/default.nix @@ -5,6 +5,9 @@ let name = "bryan"; email = "bryan@ramos.codes"; shell = pkgs.bash; + + wallpaper = "mountains.jpg"; + groups = [ "wheel" "networkmanager" "home-manager" "input" ]; sshKeys = [ diff --git a/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix b/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix index 388d34a..2ba0682 100644 --- a/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix +++ b/src/user/modules/gui/desktopEnvironments/sway/config/sway.nix @@ -17,13 +17,13 @@ in HDMI-A-1 = { resolution = "1920x1080"; position = "0,0"; - bg = "~/Pictures/wallpapers fill"; + bg = "~/Pictures/wallpapers/${config.user.wallpaper} fill"; }; DP-1 = { resolution = "1080x1920"; position = "1920,0"; transform = "90"; - bg = "~/Pictures/wallpapers fill"; + bg = "~/Pictures/wallpapers/${config.user.wallpaper} fill"; }; }; modifier = "Mod1"; diff --git a/src/user/modules/gui/desktopEnvironments/sway/default.nix b/src/user/modules/gui/desktopEnvironments/sway/default.nix index cacd5d9..82caa5e 100644 --- a/src/user/modules/gui/desktopEnvironments/sway/default.nix +++ b/src/user/modules/gui/desktopEnvironments/sway/default.nix @@ -55,7 +55,7 @@ in fonts.fontconfig.enable = true; - home.file."~/Pictures/wallpapers" = { + home.file."Pictures/wallpapers" = { source = ../../wallpapers; recursive = true; }; diff --git a/src/user/modules/gui/desktopEnvironments/wallpapers/mountains.jpg b/src/user/modules/gui/wallpapers/mountains.jpg similarity index 100% rename from src/user/modules/gui/desktopEnvironments/wallpapers/mountains.jpg rename to src/user/modules/gui/wallpapers/mountains.jpg diff --git a/user.nix b/user.configs.nix similarity index 100% rename from user.nix rename to user.configs.nix diff --git a/wallpapers b/wallpapers new file mode 120000 index 0000000..2580d92 --- /dev/null +++ b/wallpapers @@ -0,0 +1 @@ +src/user/modules/gui/wallpapers/ \ No newline at end of file