mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Don't add the i3 window manager to the system if it isn't enabled in configuration.nix.
This commit is contained in:
parent
7de6a7e8b0
commit
0c12e29368
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver.windowManager = {
|
||||
session = mkIf cfg.enable [{
|
||||
session = [{
|
||||
name = "i3";
|
||||
start = "
|
||||
${pkgs.i3}/bin/i3 &
|
||||
|
|
Loading…
Reference in a new issue