WIP: add module for plasma
This commit is contained in:
parent
9c3ec747d7
commit
447c529cdb
2 changed files with 20 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
./esphome.nix
|
./esphome.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./i18n.nix
|
./i18n.nix
|
||||||
|
./plasma.nix
|
||||||
./plymouth.nix
|
./plymouth.nix
|
||||||
./steam.nix
|
./steam.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
19
modules/desktop/plasma.nix
Normal file
19
modules/desktop/plasma.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.desktop.plasma;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.utils.plasma = {
|
||||||
|
enable = lib.mkEnableOption "Enable KDE Plasma Desktop Environment";
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue