summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-03-27 13:06:15 +0000
committerLinnnus <[email protected]>2025-03-27 13:06:30 +0000
commit1b04aa1c4c8bcd6cee608420543b154b4435ee24 (patch)
tree303fcc5ff275bd41aacdb427fb7af1afdc19b495 /hosts
parente26a65beca905cf44e1b02633f67d213ae3a84b6 (diff)
ali: Add metadata
Let's just add it now, then I'll fix it on the guest.
Diffstat (limited to 'hosts')
-rw-r--r--hosts/ahmed/ssh/default.nix1
-rw-r--r--hosts/ali/configuration.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/hosts/ahmed/ssh/default.nix b/hosts/ahmed/ssh/default.nix
index a2110b7..30dba4b 100644
--- a/hosts/ahmed/ssh/default.nix
+++ b/hosts/ahmed/ssh/default.nix
@@ -14,6 +14,7 @@
users.users = lib.genAttrs ["root" "linus"] (_: {
openssh.authorizedKeys.keys = [
metadata.hosts.muhammed.sshKeys.linus
+ metadata.hosts.ali.sshKeys.linus
# Identity used by Termios on iPhone.
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBPbGet0Mn5+HMeRBXeOkSYqGqbefFZ4kE9aYemyDp9D"
diff --git a/hosts/ali/configuration.nix b/hosts/ali/configuration.nix
index 6b69f3f..373d637 100644
--- a/hosts/ali/configuration.nix
+++ b/hosts/ali/configuration.nix
@@ -17,6 +17,9 @@
./desktop-environment
];
+ # Should match containing folder.
+ networking.hostName = "ali";
+
boot.loader.grub = {
# Use the GRUB 2 boot loader.
enable = true;