diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-12 21:40:55 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-12 21:40:55 -0500 |
| commit | 00085b663dbe8b9f903a9648bdf596ef63719585 (patch) | |
| tree | 2c3011695d2de65ce4c77a7c6550d59e1df42a87 /modules/user/desktop/default.nix | |
| parent | 5570be9c9c64e0ba2474d73c2b6b23508b916fd6 (diff) | |
initial swayfx module
Diffstat (limited to 'modules/user/desktop/default.nix')
| -rw-r--r-- | modules/user/desktop/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/modules/user/desktop/default.nix b/modules/user/desktop/default.nix new file mode 100644 index 0000000..1cfd36b --- /dev/null +++ b/modules/user/desktop/default.nix @@ -0,0 +1,49 @@ +{ + config, + lib, + pkgs, + options, + ... +}: +{ + imports = [ + ./swayfx.nix + ]; + + options.desktop = { + windowManager = lib.mkOption { + description = "Which window manager to use"; + default = null; + type = with lib.types; nullOr (enum [ ]); + }; + }; + + config = { + home.packages = with pkgs; [ + fira-code # monospace font + ]; + + programs.foot = { + enable = lib.mkDefault (config.desktop != null); + settings = { + bell = { + notify = true; + urgent = true; + }; + + colors = { + alpha = 0.7; + }; + + cursor.blink = true; + main = { + font = "Fira Code:size=8"; + dpi-aware = true; + }; + + mouse.hide-when-typing = true; + }; + }; + }; + +} |
