From ae5981dcfa3f4fef1de5e5d7391eba5147744af5 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Thu, 16 Jan 2025 22:39:44 -0500 Subject: [PATCH] reformatted richie default.nix --- users/richie/default.nix | 60 ++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/users/richie/default.nix b/users/richie/default.nix index 7640a6b..5db10be 100644 --- a/users/richie/default.nix +++ b/users/richie/default.nix @@ -11,39 +11,39 @@ in { neededForUsers = true; }; - users.users.richie = { - isNormalUser = true; + users = { + users.richie = { + isNormalUser = true; - hashedPasswordFile = "${config.sops.secrets.richie_password.path}"; + hashedPasswordFile = "${config.sops.secrets.richie_password.path}"; - shell = pkgs.zsh; - group = "richie"; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYZFsc9CSH03ZUP7y81AHwSyjLwFmcshVFCyxDcYhBT rhapsody-in-green" # cspell:disable-line - ]; - extraGroups = - [ - "audio" - "video" - "wheel" - "users" - ] - ++ ifTheyExist [ - "dialout" - "docker" - "hass" - "libvirtd" - "networkmanager" - "plugdev" - "scanner" - "uaccess" - "wireshark" - ]; - uid = 1000; - }; + shell = pkgs.zsh; + group = "richie"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYZFsc9CSH03ZUP7y81AHwSyjLwFmcshVFCyxDcYhBT rhapsody-in-green" # cspell:disable-line + ]; + extraGroups = + [ + "audio" + "video" + "wheel" + "users" + ] + ++ ifTheyExist [ + "dialout" + "docker" + "hass" + "libvirtd" + "networkmanager" + "plugdev" + "scanner" + "uaccess" + "wireshark" + ]; + uid = 1000; + }; - users.groups.richie = { - gid = 1000; + groups.richie.gid = 1000; }; home-manager.users.richie = import ./systems/${config.networking.hostName}.nix;