First commit
This commit is contained in:
23
modules/desktop/X11/i3/default.nix
Normal file
23
modules/desktop/X11/i3/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}@attrs:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.i3
|
||||
pkgs.i3lock
|
||||
pkgs.i3-volume
|
||||
pkgs.i3-gaps
|
||||
pkgs.rofi
|
||||
];
|
||||
environment.etc = {
|
||||
"xdg/i3/config".source = ./config/config;
|
||||
"xdg/i3/colors".source = ./config/colors;
|
||||
"xdg/i3/screen".source = ./config/screen-${attrs.hostname};
|
||||
"xdg/i3/rofi" = {
|
||||
text = ''
|
||||
bindsym $mod+d exec --no-startup-id ${pkgs.rofi}/bin/rofi -show drun -show-icons -config /etc/xdg/rofi/config.rasi
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user