Clean up module imports for future tests

This commit is contained in:
Fabian Hauser 2025-03-25 16:00:48 +02:00
parent 5ff94e05b8
commit ed29aa354a
11 changed files with 14 additions and 19 deletions

View file

@ -6,8 +6,6 @@
./filesystems.nix ./filesystems.nix
../../defaults/hardware/apu.nix ../../defaults/hardware/apu.nix
../../defaults/meta
]; ];
qois.system.physical.enable = true; qois.system.physical.enable = true;

View file

@ -10,8 +10,6 @@
./virtualisation.nix ./virtualisation.nix
../../defaults/hardware/asrock-z790m.nix ../../defaults/hardware/asrock-z790m.nix
../../defaults/meta
]; ];
qois.system.physical.enable = true; qois.system.physical.enable = true;

View file

@ -2,8 +2,6 @@
self, self,
pkgs, pkgs,
nixpkgs-nixos-stable, nixpkgs-nixos-stable,
disko,
sops-nix,
... ...
}@inputs: }@inputs:
let let
@ -19,11 +17,8 @@ genAttrs configs (
inherit inputs; inherit inputs;
}; };
modules = [ modules = [
disko.nixosModules.disko
sops-nix.nixosModules.sops
self.nixosModules.default self.nixosModules.default
./${config}/default.nix ./${config}/default.nix
./secrets.nix
]; ];
} }
) )

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../defaults/meta
./applications ./applications
./disko-config.nix ./disko-config.nix

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../defaults/meta
./applications ./applications
./backup.nix ./backup.nix
./secrets.nix ./secrets.nix

View file

@ -2,8 +2,6 @@
{ {
imports = [ imports = [
../../defaults/meta
./applications ./applications
./disko-config.nix ./disko-config.nix
./networking.nix ./networking.nix

View file

@ -11,8 +11,6 @@
./virtualisation.nix ./virtualisation.nix
../../defaults/hardware/asrock.nix ../../defaults/hardware/asrock.nix
../../defaults/meta
]; ];
qois.system.physical.enable = true; qois.system.physical.enable = true;

View file

@ -7,8 +7,6 @@
{ {
imports = [ imports = [
../../defaults/hardware/apu.nix ../../defaults/hardware/apu.nix
../../defaults/meta
]; ];
qois.system.physical.enable = true; qois.system.physical.enable = true;

View file

@ -1,9 +1,20 @@
{ private, self, ... }: {
private,
self,
disko,
sops-nix,
...
}:
{ {
default = default =
{ ... }: { ... }:
{ {
imports = (self.lib.loadSubmodulesFrom ./.) ++ [ private.nixosModules.default ]; imports = (self.lib.loadSubmodulesFrom ./.) ++ [
../defaults/meta
disko.nixosModules.disko
sops-nix.nixosModules.sops
private.nixosModules.default
];
}; };
} }

View file

@ -11,6 +11,7 @@
./overlays.nix ./overlays.nix
./physical.nix ./physical.nix
./security.nix ./security.nix
./secrets.nix
./virtual-machine.nix ./virtual-machine.nix
]; ];