backwards: Add gnome module

This commit is contained in:
Alexander Heldt
2024-08-18 14:59:30 +02:00
parent 527fd0a5d7
commit a53148ff97
2 changed files with 30 additions and 19 deletions

View File

@@ -10,25 +10,6 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "alex";
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
services.xserver.xkb = {
layout = "se";
variant = "";
};
console.keyMap = "sv-latin1";
hardware.pulseaudio.enable = false;