diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-02 15:05:07 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-05 22:47:43 +0100 |
| commit | 8d5e5959e1e432c8e36efec1a88840d214a18be0 (patch) | |
| tree | ce5689865320a32c799f81e7e954d445b7b17084 /hosts/default.nix | |
| parent | hosts/apzu: Add host.toml (diff) | |
| download | nixos-config-8d5e5959e1e432c8e36efec1a88840d214a18be0.zip | |
treewide: Use `extra_modules` to import dependency modules
Diffstat (limited to 'hosts/default.nix')
| -rw-r--r-- | hosts/default.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index 4a3d52fc..4f5d2982 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"); |
