mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add plasma
This commit is contained in:
parent
debb505816
commit
90ea4e005b
2 changed files with 11 additions and 1 deletions
9
modules/plasma.nix
Normal file
9
modules/plasma.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
libinput.enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
}
|
|
@ -5,7 +5,7 @@ let
|
|||
in
|
||||
{
|
||||
options.sconfig.profile = mkOption {
|
||||
type = types.enum [ "server" "desktop-gnome" "desktop-sway" ];
|
||||
type = types.enum [ "server" "desktop-gnome" "desktop-sway" "desktop-plasma" ];
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
|
@ -17,6 +17,7 @@ in
|
|||
|
||||
(mkIf (cfg == "desktop-sway") (import ./sway.nix { inherit pkgs; }))
|
||||
(mkIf (cfg == "desktop-gnome") (import ./gnome.nix { inherit pkgs; }))
|
||||
(mkIf (cfg == "desktop-plasma") (import ./plasma.nix { inherit pkgs; }))
|
||||
|
||||
(mkIf ("desktop-" == builtins.substring 0 8 cfg) (mkMerge [
|
||||
(import ./security-tools.nix { inherit pkgs; })
|
||||
|
|
Loading…
Reference in a new issue