diff --git a/flake.nix b/flake.nix index a535f82..60d8b03 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..6eeb07a --- /dev/null +++ b/hardware-configuration.nix @@ -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..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; +} diff --git a/password.nix b/password.nix index 387f6e3..c9e3ed3 100644 --- a/password.nix +++ b/password.nix @@ -1 +1 @@ -"$y$j9T$POWFwDly9YH2pelsCnZXa/$ocKEEW0SlKWiPPm2RJMP6wdGYg8sAeKVgnCtk2BSA7D" +"$y$j9T$aDs3w0TA5oGFo0aZIp3O1/$nTh0th23CSTEukEzh/9kUppqoCJaeJhlcLC8gOubhv6"