diff options
| author | andromeda <andromeda@lenovo> | 2026-01-10 08:59:54 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-10 08:59:54 +0100 |
| commit | 411ee0c027b44d5067839b4abf8326656dd2b22c (patch) | |
| tree | 19eb4eae0c741323129987089033c7d7adf06174 /machines.nix | |
| parent | aec328ce9364c640656b339f81e16cf885499f2a (diff) | |
add remote disko and some other things
Diffstat (limited to 'machines.nix')
| -rw-r--r-- | machines.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/machines.nix b/machines.nix index 9825bce..ade302f 100644 --- a/machines.nix +++ b/machines.nix @@ -6,6 +6,7 @@ modules = [ # impermanence ./modules/nixos/impermanence.nix + ./modules/nixos/impermanence-ssh.nix # hardware configuration # includes `system.stateVersion` @@ -39,6 +40,7 @@ # hardware configuration # verbatim as `nixos-generate-config` AND `system.stateVersion` ./modules/nixos/machines/109-199-104-83.nix + ./modules/nixos/disko/remote.nix # boot process # grub boot on /dev/sda @@ -51,9 +53,12 @@ # ssh through port 5522 among other things # andromeda@lenovo is the only user allowed access - ./modules/nixos/networking/hard-ssh.nix - ./modules/nixos/networking/ssh-as-root.nix - ({config, ...}: {users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];}) + # ./modules/nixos/networking/hard-ssh.nix + #./modules/nixos/networking/ssh-as-root.nix + ({config, ...}: { + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda]; + }) # TODO add Impermanence to the following services @@ -70,8 +75,6 @@ # zulip chat server # zulip.domain # ./modules/nixos/zulip.nix - { - } ]; }; } |
