diff options
Diffstat (limited to 'modules/users')
-rwxr-xr-x | modules/users/Rory.nix | 29 | ||||
-rwxr-xr-x | modules/users/chris.nix | 14 |
2 files changed, 43 insertions, 0 deletions
diff --git a/modules/users/Rory.nix b/modules/users/Rory.nix new file mode 100755 index 0000000..fe51acc --- /dev/null +++ b/modules/users/Rory.nix @@ -0,0 +1,29 @@ +{ config, pkgs, home-manager, ... }: +{ + users.users.Rory = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + packages = with pkgs; [ + ]; + initialPassword = "password"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILF2IuNu//0DP/wKMuDvBgVT3YBS2uULsipbdrhJCTM7 Rory-desktop" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN/kNkY/E5b6rvCQLMaSbpLQ/xoyywIwVVu9uo2j/B6p Rory@RoryNix" + ]; + }; + + home-manager.users.Rory = { + programs.git = { + enable = true; + userName = "TheArcaneBrony"; + userEmail = "root@thearcanebrony.net"; + extraConfig = { + safe = { + directory = "/"; + }; + }; + }; + home.stateVersion = "22.11"; + }; +} + diff --git a/modules/users/chris.nix b/modules/users/chris.nix new file mode 100755 index 0000000..bbb4eba --- /dev/null +++ b/modules/users/chris.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: +{ + users.users.chris = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + packages = with pkgs; [ + nano + ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd9U0+wKjBG3Q9Qg249xJY+ybYeRV9/VMPjuwKvFBEI" + ]; + }; +} + |