diff options
| author | seth <[email protected]> | 2023-01-28 06:29:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-28 06:29:39 -0500 |
| commit | 904c82a745715966cbf023a3e8bdae609975f5d4 (patch) | |
| tree | f91245f6817b57edec59da520d6ce3b9046741c9 /hosts/common/desktop/plasma.nix | |
| parent | f23abee3530260e43aabf311ff49c13286648099 (diff) | |
make switching desktops easier
Diffstat (limited to 'hosts/common/desktop/plasma.nix')
| -rw-r--r-- | hosts/common/desktop/plasma.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/hosts/common/desktop/plasma.nix b/hosts/common/desktop/plasma.nix index ddd3a28..f06fe23 100644 --- a/hosts/common/desktop/plasma.nix +++ b/hosts/common/desktop/plasma.nix @@ -1,8 +1,10 @@ -{pkgs, ...}: { - imports = [ - ./. - ]; - +{ + config, + pkgs, + ... +}: +if config.sys.desktop == "plasma" +then { services.xserver = { displayManager.sddm.enable = true; desktopManager.plasma5 = { @@ -17,3 +19,4 @@ }; }; } +else {} |
