74 lines
1.3 KiB
Plaintext
74 lines
1.3 KiB
Plaintext
{
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
in
|
|
{
|
|
imports = [
|
|
#
|
|
# ========== Hardware ==========
|
|
#
|
|
./hardware-configuration.nix
|
|
#inputs.hardware.nixosModules.common-cpu-amd
|
|
#inputs.hardware.nixosModules.common-cpu-intel
|
|
#inputs.hardware.nixosModules.common-gpu-nvidia
|
|
#inputs.hardware.nixosModules.common-gpu-intel
|
|
#inputs.hardware.nixosModules.common-pc-ssd
|
|
|
|
#
|
|
# ========== Disk Layout ==========
|
|
#
|
|
#inputs.disko.nixosModules.disko
|
|
|
|
#
|
|
# ========== Misc Inputs ==========
|
|
#
|
|
|
|
(map lib.custom.relativeToRoot [
|
|
#
|
|
# ========== Required Configs ==========
|
|
#
|
|
"hosts/common/core"
|
|
|
|
#
|
|
# ========== Non-Primary Users to Create ==========
|
|
#
|
|
|
|
#
|
|
# ========== Optional Configs ==========
|
|
#
|
|
])
|
|
];
|
|
|
|
#
|
|
# ========== Host Specification ==========
|
|
#
|
|
|
|
hostSpec = {
|
|
hostName = "foo";
|
|
scaling = lib.mkForce "1";
|
|
};
|
|
|
|
networking = {
|
|
networkmanager.enable = true;
|
|
enableIPv6 = false;
|
|
};
|
|
|
|
boot.loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
timeout = 3;
|
|
};
|
|
|
|
boot.initrd = {
|
|
systemd.enable = true;
|
|
};
|
|
|
|
# https://wiki.nixos.org/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "24.11";
|
|
}
|