separate plasma from sddm

This commit is contained in:
twoneis 2024-06-24 17:17:49 +02:00
parent d568de464e
commit f19ae43a40
4 changed files with 17 additions and 14 deletions

View file

@ -8,6 +8,7 @@
./home
./niri
./plasma
./sddm
./virt
];
@ -74,14 +75,15 @@
};
};
# Needed for some features in nautilus such as auto-mounting and trash
services.gvfs.enable = true;
users.users.twoneis = {
isNormalUser = true;
description = "twoneis";
extraGroups = [ "networkmanager" "wheel" ];
};
services = {
# Needed for some features in nautilus such as auto-mounting and trash
gvfs.enable = true;
};
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;

View file

@ -1,14 +1,5 @@
{ pkgs, lib, config, ... }: lib.mkIf (config.withPlasma) {
services = {
displayManager.sddm = {
enable = true;
wayland = {
enable = true;
compositor = "kwin";
};
theme = "where_is_my_sddm_theme";
};
desktopManager.plasma6 = {
enable = true;
};
@ -20,8 +11,6 @@
konsole
oxygen
];
systemPackages = [ (pkgs.where-is-my-sddm-theme.override ({ themeConfig = builtins.readFile ./sddm-theme.conf; })) ];
};
programs.dconf.enable = true;

12
modules/sddm/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, lib, config, ... }: lib.mkIf(config.withNiri or config.withPlasma or config.withGnome){
services.displayManager.sddm = {
enable = true;
wayland = {
enable = true;
compositor = "kwin";
};
theme = "where_is_my_sddm_theme";
};
environment.systemPackages = [ (pkgs.where-is-my-sddm-theme.override ({ themeConfig = builtins.readFile ./sddm-theme.conf; })) ];
}