summaryrefslogtreecommitdiff
path: root/machines.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines.nix')
-rw-r--r--machines.nix13
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
- {
- }
];
};
}