misc: initial commit

This commit is contained in:
Emily 2024-12-28 19:33:49 -05:00
commit 964b99b28d
32 changed files with 1675 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{config, lib, pkgs, ...}:
let
autologin = config.services.displayManager.autoLogin.enable;
in
{
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true;
programs.dconf.enable = true;
# The user is expected to have Emacs instead
environment.plasma6.excludePackages = with pkgs.kdePackages; [
elisa
];
# https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-2495681146
systemd.services."getty@tty1".enable = lib.mkIf autologin false;
systemd.services."autovt@tty1".enable = lib.mkIf autologin false;
}