server is finally here
This commit is contained in:
parent
76bb4f850d
commit
4fb0f0d6c5
|
@ -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
|
||||
|
|
27
hardware-configuration.nix
Normal file
27
hardware-configuration.nix
Normal 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;
|
||||
}
|
|
@ -1 +1 @@
|
|||
"$y$j9T$POWFwDly9YH2pelsCnZXa/$ocKEEW0SlKWiPPm2RJMP6wdGYg8sAeKVgnCtk2BSA7D"
|
||||
"$y$j9T$aDs3w0TA5oGFo0aZIp3O1/$nTh0th23CSTEukEzh/9kUppqoCJaeJhlcLC8gOubhv6"
|
||||
|
|
Loading…
Reference in a new issue