From cbdd5f9976b80ec20d66321af9d9e792a05ae99c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 20 Apr 2024 15:27:27 -0400 Subject: [PATCH] home: drop enable flag from sway.randomWallpaper --- homeManagerModules/desktop/sway/default.nix | 1 - homeManagerModules/desktop/sway/randomWallpaper.nix | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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];