diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-08 16:57:15 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-08 16:57:15 -0800 |
commit | 85caa76dd85ca7e562572e86b5da02fd217bb893 (patch) | |
tree | cb4fa0684f5b52bbc1226cedbebd1d87249a4d35 | |
parent | users: enable xdg (diff) | |
download | world-85caa76dd85ca7e562572e86b5da02fd217bb893.tar.gz |
desktop: configuration for i3
-rw-r--r-- | modules/desktop/i3.nix | 19 | ||||
-rw-r--r-- | modules/desktop/xserver.nix | 4 |
2 files changed, 19 insertions, 4 deletions
diff --git a/modules/desktop/i3.nix b/modules/desktop/i3.nix new file mode 100644 index 0000000..aecbf63 --- /dev/null +++ b/modules/desktop/i3.nix @@ -0,0 +1,19 @@ +{ config, pkgs, lib, ... }: + +{ + services.xserver.windowManager = { + i3.enable = true; + }; + + programs.rofi = { + enable = true; + theme = "purple"; + + extraConfig = { + modi = "drun"; + show-icons = true; + icon-theme = "Numix-Square"; + combi-modi = "window,drun,ssh"; + }; + }; +} diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix index 8aed737..a26dc56 100644 --- a/modules/desktop/xserver.nix +++ b/modules/desktop/xserver.nix @@ -15,9 +15,5 @@ defaultSession = "none+i3"; lightdm.enable = true; }; - - windowManager = { - i3.enable = true; - }; }; } |