Adjust how the config is split across files
This commit is contained in:
parent
3146539366
commit
7b943a438d
3 changed files with 5 additions and 8 deletions
|
@ -27,8 +27,9 @@
|
||||||
};
|
};
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
{ networking.hostName = host; }
|
||||||
./hosts/${host}/configuration.nix
|
./hosts/${host}/configuration.nix
|
||||||
./hosts/${host}/hardware-configuration.nix
|
./hosts/${host}/state.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
# MANUAL STATE
|
|
||||||
system.stateVersion = "24.05";
|
|
||||||
boot.kernelParams = [ "resume_offset=39292928" ];
|
|
||||||
# MANUAL STATE
|
|
||||||
|
|
||||||
networking.hostName = "lithium";
|
|
||||||
custom.home_wg_suffix = "3";
|
custom.home_wg_suffix = "3";
|
||||||
system.autoUpgrade.allowReboot = lib.mkForce false;
|
system.autoUpgrade.allowReboot = lib.mkForce false;
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
system.stateVersion = "24.05";
|
||||||
|
boot.kernelParams = [ "resume_offset=39292928" ];
|
||||||
|
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
Loading…
Add table
Add a link
Reference in a new issue