diff options
Diffstat (limited to 'modules/hosts/desktop/sway/swaylock.nix')
| -rw-r--r-- | modules/hosts/desktop/sway/swaylock.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/hosts/desktop/sway/swaylock.nix b/modules/hosts/desktop/sway/swaylock.nix deleted file mode 100644 index 9ba43a1..0000000 --- a/modules/hosts/desktop/sway/swaylock.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - config, - username, - lib, - ... -}: - -let - inherit (lib) mkEnableOption mkIf; - cfg = config.nx.desktop.swaylock; -in -{ - options.nx.desktop.swaylock.enable = mkEnableOption "Enable and setup swaylock" // { - default = config.nx.desktop.sway.enable; - }; - config = mkIf cfg.enable { - home-manager.users."${username}" = { - programs.swaylock = { - enable = true; - settings = { - font = "monospace 12"; - color = "00000000"; - ring-color = "ffffffff"; - key-hl-color = "ff0000ff"; - bs-hl-color = "ff0000ff"; - }; - }; - }; - }; -} |
