initial commit
This commit is contained in:
73
hosts/host-template.nix.placeholder
Normal file
73
hosts/host-template.nix.placeholder
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
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";
|
||||
}
|
||||
Reference in New Issue
Block a user