From 411ee0c027b44d5067839b4abf8326656dd2b22c Mon Sep 17 00:00:00 2001 From: andromeda Date: Sat, 10 Jan 2026 08:59:54 +0100 Subject: add remote disko and some other things --- machines.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'machines.nix') 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 - { - } ]; }; } -- cgit v1.3