aboutsummaryrefslogtreecommitdiff
path: root/hosts/heimdall/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/heimdall/default.nix
parent63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff)
hosts: overhauled host configurations
Diffstat (limited to 'hosts/heimdall/default.nix')
-rw-r--r--hosts/heimdall/default.nix45
1 files changed, 27 insertions, 18 deletions
diff --git a/hosts/heimdall/default.nix b/hosts/heimdall/default.nix
index 38b523a..5d6876b 100644
--- a/hosts/heimdall/default.nix
+++ b/hosts/heimdall/default.nix
@@ -1,8 +1,32 @@
-{ lib, inputs, ... }:
+{
+ inputs,
+ lib,
+ ...
+}:
{
system.stateVersion = "24.05";
- imports = [ ./hardware.nix ];
+ imports = [
+ ./filesystems
+ ./modules
+ ];
+
+ hardware = {
+ enableRedistributableFirmware = true;
+ cpu.intel.updateMicrocode = true;
+ };
+
+ boot.loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+ boot.initrd.availableKernelModules = [
+ "xhci_pci"
+ "ehci_pci"
+ "ahci"
+ "sd_mod"
+ ];
+ boot.kernelModules = [ "kvm-intel" ];
home-manager = {
useGlobalPkgs = true;
@@ -14,6 +38,7 @@
};
};
+ time.timeZone = "America/Detroit";
networking = {
hostName = "heimdall";
nameservers = [ "10.44.0.1" ];
@@ -26,20 +51,4 @@
};
};
};
-
- time.timeZone = "America/Detroit";
-
- boot.loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
- };
-
- programs.motd = {
- enable = true;
- networkInterfaces = [ "eno1" ];
- servicesToCheck = [
- "searx"
- "unbound"
- ];
- };
}