diff options
author | lassulus <lassulus@lassul.us> | 2018-07-19 20:35:04 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-07-19 21:32:10 +0200 |
commit | 6232ab30786768118fe130d80fc980cec48b08e7 (patch) | |
tree | 4849d875977ad5269e5ae450538478b2345bfbb9 /example | |
parent | bff1223462a996c5697c4ff41c5c076366394612 (diff) |
generate nixos config from definition, split into format & config
Diffstat (limited to 'example')
-rw-r--r-- | example/default.nix | 5 |
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); +} |