add impermenence to cloudnix
This commit is contained in:
parent
620db0fb22
commit
45d3c6cc26
|
@ -1,10 +1,13 @@
|
||||||
{
|
{
|
||||||
configVars,
|
configVars,
|
||||||
outputs,
|
outputs,
|
||||||
|
lib,
|
||||||
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
user = "admin";
|
user = "admin";
|
||||||
merlinIp = configVars.networking.addresses.merlin.ip;
|
merlinIp = configVars.networking.addresses.merlin.ip;
|
||||||
|
btrfsMountDevice = "/dev/sda2";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# Create users for this host
|
# Create users for this host
|
||||||
|
@ -14,6 +17,13 @@ in {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../common/core
|
../common/core
|
||||||
|
|
||||||
|
# Impermanence
|
||||||
|
../common/optional/persistence.nix
|
||||||
|
(import ../common/disks/btrfs/impermanence.nix {
|
||||||
|
btrfsMountDevice = btrfsMountDevice;
|
||||||
|
lib = lib;
|
||||||
|
})
|
||||||
|
|
||||||
# Import optional options
|
# Import optional options
|
||||||
../common/optional/persistence.nix
|
../common/optional/persistence.nix
|
||||||
../common/optional/openssh.nix
|
../common/optional/openssh.nix
|
||||||
|
|
Loading…
Reference in New Issue