diff options
author | lassulus <lassulus@lassul.us> | 2018-05-12 15:51:24 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-05-12 15:51:24 +0200 |
commit | 0c0d527bec3a6a3d6435203253edb2ef27f9655b (patch) | |
tree | c557aa36ab0eb475bab5c78c046caea3610f84bf /lass/1systems/red | |
parent | 079396f9e11573228bd6cf498f161c49660a7549 (diff) |
l: hw config into physical.nix
Diffstat (limited to 'lass/1systems/red')
-rw-r--r-- | lass/1systems/red/config.nix | 2 | ||||
-rw-r--r-- | lass/1systems/red/physical.nix | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lass/1systems/red/config.nix b/lass/1systems/red/config.nix index 31e2de966..04bbf1ee8 100644 --- a/lass/1systems/red/config.nix +++ b/lass/1systems/red/config.nix @@ -20,8 +20,6 @@ in ]; krebs.build.host = config.krebs.hosts.red; - boot.isContainer = true; - networking.useDHCP = false; services.nginx.enable = true; environment.variables.NIX_REMOTE = "daemon"; diff --git a/lass/1systems/red/physical.nix b/lass/1systems/red/physical.nix new file mode 100644 index 000000000..b6aa3a894 --- /dev/null +++ b/lass/1systems/red/physical.nix @@ -0,0 +1,7 @@ +{ + imports = [ + ./config.nix + ]; + boot.isContainer = true; + networking.useDHCP = false; +} |