From 370f034436112632dac273757d5d7ad5807136fc Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 21 Feb 2025 08:46:20 +0100 Subject: refactor: move user config to workstation profile --- nixos/hosts/hamac/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'nixos/hosts/hamac/default.nix') diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix index d17b155..e768648 100644 --- a/nixos/hosts/hamac/default.nix +++ b/nixos/hosts/hamac/default.nix @@ -11,6 +11,8 @@ ]; + workstation.username = "martin"; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -35,18 +37,6 @@ LC_TIME = "en_US.UTF-8"; }; - users.users.martin = { - isNormalUser = true; - description = "Martin"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; []; - }; - - services.getty = { - autologinUser = "martin"; - autologinOnce = true; # only in the first tty once per boot - }; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ -- cgit v1.2.3