summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew@montgomery.systems>2026-07-20 21:47:06 -0400
committerSkullheadx <andrew@montgomery.systems>2026-07-20 21:47:08 -0400
commita5a491f676ee1df02c57a9362ca569916905110a (patch)
tree81d9a24bf4c3766600addef3c60fa4bfe3287cb5
parentadd ssh user and key location to build machiens (diff)
downloadnixos-a5a491f676ee1df02c57a9362ca569916905110a.tar.gz
nixos-a5a491f676ee1df02c57a9362ca569916905110a.tar.bz2
nixos-a5a491f676ee1df02c57a9362ca569916905110a.zip
update to use right ssh key and set shell for nixremote
-rw-r--r--hosts/icon/configuration.nix3
-rw-r--r--pubkeys/desktop_builder_ssh.pub1
2 files changed, 3 insertions, 1 deletions
diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix
index 03a7788..677075c 100644
--- a/hosts/icon/configuration.nix
+++ b/hosts/icon/configuration.nix
@@ -92,10 +92,11 @@
isSystemUser = true;
group = "nixremote";
home = "/home/nixremote";
+ shell = pkgs.bash;
createHome = true;
homeMode = "555";
openssh.authorizedKeys.keyFiles = [
- ../../pubkeys/desktop_ssh.pub
+ ../../pubkeys/desktop_builder_ssh.pub
];
};
};
diff --git a/pubkeys/desktop_builder_ssh.pub b/pubkeys/desktop_builder_ssh.pub
new file mode 100644
index 0000000..70aef19
--- /dev/null
+++ b/pubkeys/desktop_builder_ssh.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGIzILtqmZjMf0X2vifrQzI5OkoOkl/jHZ2xK3HMLJnU root@nepsis