diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-13 15:19:21 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-13 15:19:21 -0800 |
| commit | 771039f64d44a60f9691582fe559e26b431bbbe8 (patch) | |
| tree | 1f980dd57b0f3256825f04f101c81ae458a4b424 /profiles/users/fcuny.nix | |
| parent | update builders configuration (diff) | |
| download | infra-771039f64d44a60f9691582fe559e26b431bbbe8.tar.gz | |
remove abstractions for managing users
Diffstat (limited to 'profiles/users/fcuny.nix')
| -rw-r--r-- | profiles/users/fcuny.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/profiles/users/fcuny.nix b/profiles/users/fcuny.nix new file mode 100644 index 0000000..1a2b490 --- /dev/null +++ b/profiles/users/fcuny.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: +{ + nix.settings.trusted-users = [ "fcuny" ]; + users.users.fcuny = { + uid = 1000; + shell = pkgs.fish; + isNormalUser = true; + hashedPassword = "$6$Llw8m62nKMLLN9mm$3.a4CKUFlqwkG8vjBryLlBNwTwgH63vpg2nhYwRoQzG76Q91vTXnlYDujS4G5yGrWoatkKZx5epCx4/NAvRh2/"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + ]; + extraGroups = [ + "wheel" + ]; + }; + + home-manager.users.fcuny = { + home.username = "fcuny"; + userinfo = { + email = "franck@fcuny.net"; + fullName = "Franck Cuny"; + }; + }; +} |
