Install nh and friends, modularize nixos conf.
This commit is contained in:
parent
ea86d38cd1
commit
5054b13564
14 changed files with 302 additions and 209 deletions
21
modules/nixos/plasma.nix
Normal file
21
modules/nixos/plasma.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.plasma.enable = lib.mkEnableOption "enable plasma";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.plasma.enable {
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||
plasma-browser-integration
|
||||
konsole
|
||||
oxygen
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue