Added copySysConf module.

This commit is contained in:
Kevin Baensch 2019-04-18 07:40:47 +02:00
parent 9aced6065b
commit 82028fd0e1
3 changed files with 56 additions and 1 deletions

View file

@ -3,7 +3,7 @@
with lib;
let
machinePath = (builtins.toPath ("/etc/nixos/machines/" + (fileContents /secret/hostName)));
machinePath = (builtins.toPath ( ./machines + ("/" + (fileContents /secret/hostName))));
machineConf = machinePath + "/configuration.nix";
machineOpts = machinePath + "/options.nix";
in {