summary refs log tree commit diff
path: root/modules/users
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-28 21:03:46 +0200
committerRory& <root@rory.gay>2024-06-05 15:49:34 +0200
commit7010d98995fea8eda3c578fbfd13aecca918b7d9 (patch)
tree37d2add1bf249828a12e820fd6225fe2eb57fd32 /modules/users
downloadSpacebar-Open-Infrastructure-7010d98995fea8eda3c578fbfd13aecca918b7d9.tar.xz
Initial commit
Diffstat (limited to 'modules/users')
-rwxr-xr-xmodules/users/Rory.nix29
-rwxr-xr-xmodules/users/chris.nix14
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" + ]; + }; +} +