initial nixos config

This commit is contained in:
Odweta
2026-01-11 17:11:41 +01:00
commit 23dee4f5bd
5 changed files with 804 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# 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 = [ "xhci_pci" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/luks-92ca99f5-755f-4b98-b20f-ef9264f854fa";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-92ca99f5-755f-4b98-b20f-ef9264f854fa".device = "/dev/disk/by-uuid/92ca99f5-755f-4b98-b20f-ef9264f854fa";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5C09-A76A";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}