Update all hosts to better formatting

This commit is contained in:
Bun 2025-04-17 10:51:55 -04:00
parent 531176d415
commit c2ae238ae3
31 changed files with 227 additions and 233 deletions

View file

@ -4,12 +4,19 @@
"/persist/storage" = {
device = "/dev/disk/by-uuid/edd3e293-1aff-4fc0-96fa-4e17d6cccfca";
fsType = "btrfs";
options = [ "nosuid" "nodev" "nofail" "x-gvfs-show" ];
options = [
"nofail"
"nosuid"
];
};
"/home/${config.sysusers.main}/Network/Midas" = {
device = "11.0.0.1:/storage";
fsType = "nfs4";
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
options = [
"x-systemd.automount"
"noauto"
"soft"
];
};
};
}

View file

@ -1,8 +1,13 @@
{ config, lib, ... }:
{
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.initrd = {
availableKernelModules = [
"ahci"
"ehci_pci"
"xhci_pci"
];
kernelModules = [ "dm-snapshot" ];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -1,6 +1,15 @@
{ ... }:
{
networking = {
interfaces."eno1".ipv4.addresses = [{
address = "10.2.0.2";
prefixLength = 8;
}];
defaultGateway = {
address = "10.1.0.1";
interface = "eno1";
};
vlans.internal = {
id=100;
interface="eno1";