Added i3 systemwide config
This commit is contained in:
1 parent
6072b9fdd2
commit
7776f845cc
4 files changed
+32
-5
No files matched your search
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
# Import systemwide configuration files.
|
||||
./docker.nix
|
||||
./i3.nix
|
||||
./keyring.nix
|
||||
./river.nix
|
||||
./steam.nix
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
enabled = any (user: user.modules.i3.enable) (attrValues config.home-manager.users);
|
||||
in
|
||||
{
|
||||
config = mkIf enabled {
|
||||
services.xserver = {
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
enable = true;
|
||||
windowManager.i3.enable = true;
|
||||
desktopManager = {
|
||||
xterm.enable = true;
|
||||
noDesktop = true;
|
||||
enableXfwm = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user