Added domain option. Maybe fixed binary cache signing.
This commit is contained in:
parent
63e40a5a29
commit
66ca5839e5
17 changed files with 238 additions and 139 deletions
|
@ -2,15 +2,19 @@
|
|||
|
||||
with lib;
|
||||
|
||||
# hint: use 'echo -n' so there is no newline char in the hostName file
|
||||
let
|
||||
# hint: use 'echo -n' so there is no newline char in the hostName file
|
||||
cfgPath = (builtins.toPath ("/etc/nixos/machines/" + (builtins.readFile /secret/hostName) + "/configuration.nix"));
|
||||
in rec {
|
||||
machinePath = (builtins.toPath ("/etc/nixos/machines/" + (builtins.readFile /secret/hostName)));
|
||||
machineConf = machinePath + "/configuration.nix";
|
||||
machineOpts = machinePath + "/options.nix";
|
||||
in {
|
||||
imports = [
|
||||
cfgPath
|
||||
./config/default.nix # same problem as above
|
||||
machineConf
|
||||
machineOpts
|
||||
./config/default.nix
|
||||
./pkgs/nixpkgs.nix
|
||||
./pkgs/pkgsets.nix
|
||||
./services/default.nix # same problem as above
|
||||
./services/containers.nix
|
||||
./services/default.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue