misc: initial commit
This commit is contained in:
commit
964b99b28d
32 changed files with 1675 additions and 0 deletions
20
nixos/desktop/plasma/default.nix
Normal file
20
nixos/desktop/plasma/default.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue