diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 7410a005..c8020049 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -20,7 +20,6 @@ firefox.enable = lib.mkDefault true; kanshi.enable = lib.mkDefault true; }; - desktop.sway.randomWallpaper.enable = lib.mkDefault true; }; # Packages that should be installed to the user profile. home.packages = with pkgs; [ diff --git a/homeManagerModules/desktop/sway/randomWallpaper.nix b/homeManagerModules/desktop/sway/randomWallpaper.nix index 7619973e..2bfa2964 100644 --- a/homeManagerModules/desktop/sway/randomWallpaper.nix +++ b/homeManagerModules/desktop/sway/randomWallpaper.nix @@ -18,11 +18,11 @@ ''; in { options = { - alyraffauf.desktop.sway.randomWallpaper.enable = + alyraffauf.desktop.sway.randomWallpaper = lib.mkEnableOption "Enable Sway random wallpaper script."; }; - config = lib.mkIf config.alyraffauf.desktop.sway.randomWallpaper.enable { + config = lib.mkIf config.alyraffauf.desktop.sway.randomWallpaper { # Packages that should be installed to the user profile. home.packages = with pkgs; [swaybg sway-randomWallpaper];