mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
06b14b11eb
At some point these options were changed to be descendants of `services` instead.
34 lines
583 B
Nix
34 lines
583 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
let
|
|
inherit (config.modules.system) username;
|
|
inherit (pkgs) xterm;
|
|
in
|
|
{
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
excludePackages = [ xterm ];
|
|
};
|
|
|
|
displayManager = {
|
|
sddm.enable = true;
|
|
|
|
autoLogin = {
|
|
enable = true;
|
|
user = username;
|
|
};
|
|
};
|
|
};
|
|
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
systemd.services = {
|
|
"getty@tty1".enable = false;
|
|
"autovt@tty1".enable = false;
|
|
};
|
|
|
|
programs.hyprland.enable = lib.mkForce false;
|
|
services.greetd.enable = lib.mkForce false;
|
|
}
|