aboutsummaryrefslogtreecommitdiff
path: root/hosts/woodpecker/default.nix
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
committertdback <tyler@tdback.net>2025-01-26 11:31:00 -0500
commita7c3d07078d0ca67afadd6fb24ab4b60b38c1109 (patch)
treeb214be5bc6bd1ea67c0499ee54ce3ec06565e929 /hosts/woodpecker/default.nix
parent63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff)
hosts: overhauled host configurations
Diffstat (limited to 'hosts/woodpecker/default.nix')
-rw-r--r--hosts/woodpecker/default.nix45
1 files changed, 30 insertions, 15 deletions
diff --git a/hosts/woodpecker/default.nix b/hosts/woodpecker/default.nix
index b049cab..81a6715 100644
--- a/hosts/woodpecker/default.nix
+++ b/hosts/woodpecker/default.nix
@@ -1,8 +1,35 @@
-{ lib, inputs, ... }:
+{
+ inputs,
+ lib,
+ ...
+}:
{
system.stateVersion = "24.05";
- imports = [ ./hardware.nix ];
+ imports = [ ./filesystems ];
+
+ hardware = {
+ enableRedistributableFirmware = true;
+ cpu.amd.updateMicrocode = true;
+ };
+
+ boot.loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+ boot.initrd.availableKernelModules = [
+ "nvme"
+ "xhci_pci"
+ "ahci"
+ "usb_storage"
+ "usbhid"
+ "sd_mod"
+ ];
+ boot.kernelModules = [ "kvm-amd" ];
+ boot.binfmt.emulatedSystems = [
+ "aarch64-linux"
+ "riscv64-linux"
+ ];
home-manager = {
useGlobalPkgs = true;
@@ -14,6 +41,7 @@
};
};
+ time.timeZone = "America/Detroit";
networking = {
hostName = "woodpecker";
nameservers = [ "10.44.0.1" ];
@@ -26,17 +54,4 @@
};
};
};
-
- time.timeZone = "America/Detroit";
-
- boot = {
- loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
- };
- binfmt.emulatedSystems = [
- "aarch64-linux"
- "riscv64-linux"
- ];
- };
}