diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-27 16:34:46 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-27 16:34:46 -0700 |
| commit | 225961ffde316576d884f5cadda384dd2543b74f (patch) | |
| tree | 4b7b81a2a9f3133ab79bd14085bc64356389a60d | |
| parent | 1403c2423100e014aae95c2a02191445d9e8b647 (diff) | |
add ssh key
| -rw-r--r-- | configuration.nix | 1 | ||||
| -rw-r--r-- | justfile | 2 | ||||
| -rw-r--r-- | options.nix | 8 |
3 files changed, 8 insertions, 3 deletions
diff --git a/configuration.nix b/configuration.nix index d744b6f..2a19efc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,6 +15,7 @@ efi.canTouchEfiVariables = true; }; + networking.hostName = "chariot"; networking.networkmanager.enable = true; users.users.kassouni = { @@ -5,4 +5,4 @@ deploy: nixos-rebuild switch --flake .#{{config}} --target-host {{host}} --build-host {{host}} --sudo --ask-sudo-password ssh: - ssh {{host}} + ssh -p {{port}} {{host}} diff --git a/options.nix b/options.nix index 6f4256b..faaf2c8 100644 --- a/options.nix +++ b/options.nix @@ -1,5 +1,6 @@ {config, lib, ...}: let - alex = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII42yGEm1u3FxKdgox6Kkp9IBgBERVKrcIjQkrVbEO3m alex@kassouni.net"; + magician = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII42yGEm1u3FxKdgox6Kkp9IBgBERVKrcIjQkrVbEO3m alex@kassouni.net"; + hierophant = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqok+IgFuByRuoKM8HbiM919QmAVFvB2rI7ewgGsCiJ kassouni@hierophant"; in { options.my = { adminKeys = lib.mkOption { @@ -21,7 +22,10 @@ in { }; config.my = { - adminKeys = [ alex ]; + adminKeys = [ + hierophant + magician + ]; # Admins push too; collaborator keys belong here and nowhere else. gitKeys = config.my.adminKeys; |