diff options
| -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; |