aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-07-19 20:35:04 +0200
committerlassulus <lassulus@lassul.us>2018-07-19 21:32:10 +0200
commit6232ab30786768118fe130d80fc980cec48b08e7 (patch)
tree4849d875977ad5269e5ae450538478b2345bfbb9 /example
parentbff1223462a996c5697c4ff41c5c076366394612 (diff)
generate nixos config from definition, split into format & config
Diffstat (limited to 'example')
-rw-r--r--example/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/default.nix b/example/default.nix
index cdcb359..cb98853 100644
--- a/example/default.nix
+++ b/example/default.nix
@@ -2,4 +2,7 @@
with import ../lib;
- disko "/dev/sda" (import ./config.nix)
+{
+ format = format "/dev/sda" (import ./config.nix);
+ config = config "/dev/sda" (import ./config.nix);
+}