aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-04-23 16:19:11 +0200
committerLinnea Gräf <nea@nea.moe>2025-04-23 16:19:11 +0200
commit20b921853080ead981e276ab5dc1c331c1e891c3 (patch)
treefafea8edaa100b2d78e0f8ce0f6ad51a66e181a3
parentdc11d1edc43eb21047f9ee17decbf3fe9b864ac7 (diff)
downloadnix-infra-20b921853080ead981e276ab5dc1c331c1e891c3.tar.gz
nix-infra-20b921853080ead981e276ab5dc1c331c1e891c3.tar.bz2
nix-infra-20b921853080ead981e276ab5dc1c331c1e891c3.zip
snapshot: Mi 23. Apr 16:19:11 CEST 2025
-rw-r--r--srv/hadante/configuration.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/srv/hadante/configuration.nix b/srv/hadante/configuration.nix
index 229d203..e553877 100644
--- a/srv/hadante/configuration.nix
+++ b/srv/hadante/configuration.nix
@@ -22,6 +22,7 @@
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "hadante"; # Define your hostname.
+ user = "nea";
# Use lesbian nix
nix.package = pkgs.lix;
@@ -89,7 +90,7 @@
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with ‘passwd’.
- users.users.nea = {
+ users.users.${config.user} = {
isNormalUser = true;
description = "Linnea Gräf";
extraGroups = [
@@ -102,15 +103,6 @@
};
users.defaultUserShell = pkgs.zsh;
- # Enable automatic login for the user.
- # services.xserver.displayManager.autoLogin.enable = true;
- # services.xserver.displayManager.autoLogin.user = "nea";
-
- # 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;
-
- # Allow unfree packages
nixpkgs.config.allowUnfree = true;
programs = {
@@ -152,7 +144,6 @@
programs.kitty = {
enable = true;
};
-
};
environment.systemPackages = (