summaryrefslogtreecommitdiff
path: root/impermanence.nix
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2026-01-12 17:30:18 +0100
committerMathias Magnusson <mathias@magnusson.space>2026-01-12 17:30:18 +0100
commitfd7724dbd0c21449d5286e272a5d5020e1fc4372 (patch)
treeeb0c6609bc4a0b79a55bcf78a04328226c158415 /impermanence.nix
parentf773ef72fd95e6e3424ac7f822dcc488d34f5fb9 (diff)
downloadoden-fd7724dbd0c21449d5286e272a5d5020e1fc4372.tar.gz
move some stuff out of flake.nix
Diffstat (limited to 'impermanence.nix')
-rw-r--r--impermanence.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/impermanence.nix b/impermanence.nix
index ae62f3c..d4f23ee 100644
--- a/impermanence.nix
+++ b/impermanence.nix
@@ -1,11 +1,13 @@
# sudo mount --ro /dev/nvme0n1p2 ./mnt --mkdir
# ls mnt/old_roots
-{ lib, config, options, ... }:
+{ lib, config, options, inputs, ... }:
let
cfg = config.oden.persist;
in
{
+ imports = [ inputs.impermanence.nixosModules.impermanence ];
+
options.oden.persist =
with lib;
with types;