aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.nix1
-rw-r--r--justfile2
-rw-r--r--options.nix8
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 = {
diff --git a/justfile b/justfile
index 96c2c25..c71b387 100644
--- a/justfile
+++ b/justfile
@@ -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;