From 5a9cc21c23a5beb3001006baac99c2f5736ada29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 3 Nov 2025 21:15:46 +0000 Subject: [PATCH] sqq1-desk1: autologin --- hosts/sqq1-desk2/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/sqq1-desk2/configuration.nix b/hosts/sqq1-desk2/configuration.nix index 26245c7..5a57c85 100644 --- a/hosts/sqq1-desk2/configuration.nix +++ b/hosts/sqq1-desk2/configuration.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, ... }: @@ -13,6 +14,8 @@ in ../../modules/profiles/btrfs ]; + services.xserver.desktopManager.xfce.enableScreensaver = false; + age.secrets = { motiejus-passwd-hash.file = ../../secrets/motiejus_passwd_hash.age; root-passwd-hash.file = ../../secrets/root_passwd_hash.age; @@ -47,6 +50,17 @@ in hardware.cpu.intel.updateMicrocode = true; nixpkgs.hostPlatform = "x86_64-linux"; + users.users.irena = { + isNormalUser = true; + extraGroups = [ + "networkmanager" + "users" + ]; + password = ""; + }; + + services.displayManager.autoLogin.user = lib.mkForce "irena"; + mj = { stateVersion = "25.05"; timeZone = "Europe/Vilnius";