Added plasma6 specialisation for when other people use my devices
This commit is contained in:
parent
f2e0efe82b
commit
91b087f668
5 changed files with 62 additions and 3 deletions
33
system/programs/plasma6.nix
Normal file
33
system/programs/plasma6.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.niksos.kde = lib.mkEnableOption "a kde specialisation. Will enable desktop settings.";
|
||||
|
||||
config.specialisation.de.configuration = lib.mkIf config.niksos.kde {
|
||||
niksos.desktop = lib.mkForce true;
|
||||
|
||||
services = {
|
||||
greetd = let
|
||||
session = {
|
||||
command = "${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland";
|
||||
user = "jsw";
|
||||
};
|
||||
in {
|
||||
settings = lib.mkForce {
|
||||
terminal.vt = 1;
|
||||
default_session = session;
|
||||
initial_session = session;
|
||||
};
|
||||
};
|
||||
|
||||
desktopManager.plasma6.enable = true;
|
||||
};
|
||||
|
||||
home-manager.users.jsw = {
|
||||
stylix.autoEnable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue