abstracted importing hardware config
This commit is contained in:
@@ -3,9 +3,5 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
];
|
||||
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@
|
||||
fastfetch
|
||||
];
|
||||
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
user
|
||||
networking
|
||||
bootloader
|
||||
imports
|
||||
];
|
||||
in {
|
||||
imports = modules;
|
||||
|
||||
7
modules/system/imports.nix
Normal file
7
modules/system/imports.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{...}: {
|
||||
flake.nixosModules.imports = {...}: {
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user