about summary refs log tree commit diff
path: root/nix/hosts/nixos/user.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-08 15:50:27 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-08 15:50:27 -0800
commitac0ab13688225fc17246ca0fc86c00c02f04105e (patch)
tree63682137f69c0591a7bf2e94e3991aba4db3bd9b /nix/hosts/nixos/user.nix
parentfix conflict (diff)
downloadworld-ac0ab13688225fc17246ca0fc86c00c02f04105e.tar.gz
move the configuration for hetzner under machines
Diffstat (limited to 'nix/hosts/nixos/user.nix')
-rw-r--r--nix/hosts/nixos/user.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/nix/hosts/nixos/user.nix b/nix/hosts/nixos/user.nix
deleted file mode 100644
index 47c2267..0000000
--- a/nix/hosts/nixos/user.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ ... }: {
-  users.users.fcuny = {
-    uid = 1000;
-    isNormalUser = true;
-    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" ];
-    }];
-  }];
-}