Configuration for alo-cloud-1

This commit is contained in:
2024-01-03 19:11:59 +00:00
parent b69598465a
commit d4319ff7b6
5 changed files with 85 additions and 7 deletions

10
common/cloud-node.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
{
imports = [
./consul.nix
./impermanence.nix
./sshd.nix
./user-ppetru.nix
./systemd-boot.nix
];
}

View File

@@ -37,7 +37,7 @@
# We first mount the btrfs root to /mnt
# so we can manipulate btrfs subvolumes.
mount -o subvol=/ /dev/mapper/luksroot /mnt
mount -o subvol=/ /dev/disk/by-label/btrfs /mnt
# While we're tempted to just delete /root and create
# a new snapshot from /root-blank, /root is already