diff options
author | Franck Cuny <franck@fcuny.net> | 2024-10-08 19:22:05 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-10-08 19:22:05 -0700 |
commit | 219c58eea8b2ceaf67a70837bfe06383e8701232 (patch) | |
tree | 60ac07d6a987bcbe0811f08b13073fc541fdb2bf /nix/hosts | |
parent | build and deploy correctly the configuration to wildcat (diff) | |
download | world-219c58eea8b2ceaf67a70837bfe06383e8701232.tar.gz |
new ssh public key for my user
Diffstat (limited to '')
-rw-r--r-- | nix/hosts/nixos/user.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nix/hosts/nixos/user.nix b/nix/hosts/nixos/user.nix index c8f0f6a..47c2267 100644 --- a/nix/hosts/nixos/user.nix +++ b/nix/hosts/nixos/user.nix @@ -1,19 +1,19 @@ -{ ... }: -{ +{ ... }: { users.users.fcuny = { uid = 1000; isNormalUser = true; - extraGroups = [ - "git" - "wheel" - ]; + extraGroups = [ "git" "wheel" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFP4IsfG32WsmXJNcjsmuahhBHFQ6NulngEMaxcvDd/C" ]; }; security.sudo.extraRules = [{ groups = [ "wheel" ]; - commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }]; + commands = [{ + command = "ALL"; + options = [ "NOPASSWD" ]; + }]; }]; } |