server is finally here

This commit is contained in:
Snorre Ettrup Altschul 2025-03-03 11:50:22 +01:00
parent 76bb4f850d
commit 4fb0f0d6c5
3 changed files with 32 additions and 5 deletions

View file

@ -63,10 +63,10 @@
swap-size = "128G";
root-disk = "/dev/nvme0n1";
raid-disks = [
"sda"
"sdb"
"sdc"
"sdd"
# "sda"
# "sdb"
# "sdc"
# "sdd"
];
})
inputs.home-manager.nixosModules.default

View file

@ -0,0 +1,27 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1 +1 @@
"$y$j9T$POWFwDly9YH2pelsCnZXa/$ocKEEW0SlKWiPPm2RJMP6wdGYg8sAeKVgnCtk2BSA7D"
"$y$j9T$aDs3w0TA5oGFo0aZIp3O1/$nTh0th23CSTEukEzh/9kUppqoCJaeJhlcLC8gOubhv6"