diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-08 17:04:52 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-08 17:04:52 -0800 |
commit | 3c735e9483f35fe1c1373357facf879e5d449fb2 (patch) | |
tree | 64ab3d826e00c4f78e2bb8a9b87fea48bdc55e48 /users/fcuny | |
parent | desktop: configuration for i3 (diff) | |
download | world-3c735e9483f35fe1c1373357facf879e5d449fb2.tar.gz |
i3: move configuration to home-manager
Diffstat (limited to 'users/fcuny')
-rw-r--r-- | users/fcuny/home-manager.nix | 4 | ||||
-rw-r--r-- | users/fcuny/i3.nix | 37 |
2 files changed, 41 insertions, 0 deletions
diff --git a/users/fcuny/home-manager.nix b/users/fcuny/home-manager.nix index e210cc6..95c1820 100644 --- a/users/fcuny/home-manager.nix +++ b/users/fcuny/home-manager.nix @@ -3,6 +3,10 @@ { xdg.enable = true; + imports = [ + ./i3.nix + ]; + home.packages = [ pkgs.jq pkgs.ripgrep diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix new file mode 100644 index 0000000..3e1a626 --- /dev/null +++ b/users/fcuny/i3.nix @@ -0,0 +1,37 @@ +{ config, pkgs, lib, ... }: + +{ + services.xserver = { + enable = true; + layout = "us"; + xkbOptions = "eurosign:e"; + libinput.enable = true; + + desktopManager = { + xterm.enable = false; + }; + + displayManager = { + lightdm.enable = true; + }; + + 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"; + }; + }; + + services.gnome.gnome-keyring.enable = true; + services.gvfs.enable = true; +} |