aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/default.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-02 15:05:07 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:55:52 +0100
commit4751f10ed29d66e226ac5bc087bedb2742e0e2a9 (patch)
treec23ce8741c2fefcb23644d7b25a86013843d9e1d /hosts/default.nix
parentmodules/constants: Add missing ids and sort (diff)
downloadnixos-server-4751f10ed29d66e226ac5bc087bedb2742e0e2a9.zip
treewide: Use `extra_modules` to import dependency modules
Diffstat (limited to 'hosts/default.nix')
-rw-r--r--hosts/default.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
index 4a3d52f..4f5d298 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -2,7 +2,6 @@
self,
extra_lib,
module_args,
- extra_modules,
special_args,
nixpkgs-stable,
nixpkgs-unstable,
@@ -24,17 +23,15 @@
in
nixpkgs.lib.nixosSystem {
specialArgs = special_args;
- modules =
- extra_modules
- ++ [
- {
- _module.args = module_args;
- }
- path
+ modules = [
+ {
+ _module.args = module_args;
+ }
+ path
- ../modules
- # ../modules/common
- ];
+ ../modules
+ # ../modules/common
+ ];
};
mkDeployHost = name: path: let
host_file = builtins.fromTOML (builtins.readFile path + "/host.toml");