67 lines
1.5 KiB
Nix
67 lines
1.5 KiB
Nix
# 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")
|
||
./audio
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"nvme"
|
||
"xhci_pci"
|
||
"ahci"
|
||
"usbhid"
|
||
"usb_storage"
|
||
"sd_mod"
|
||
];
|
||
boot.initrd.kernelModules = [
|
||
"dm-snapshot"
|
||
"amdgpu"
|
||
];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/32a74827-4624-43ef-b066-b52e1f11793d";
|
||
fsType = "ext4";
|
||
};
|
||
fileSystems."/home/nki/Projects" = {
|
||
device = "/dev/disk/by-uuid/025cb533-e21b-47f2-b7d5-322b7b95b831";
|
||
fsType = "btrfs";
|
||
options = [ "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/549C-7877";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/mnt/steam" = {
|
||
device = "/dev/disk/by-uuid/d1db9f65-6add-4714-b9d7-16e16f687396";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"compress=zstd"
|
||
"subvol=steam"
|
||
];
|
||
encrypted = {
|
||
enable = true;
|
||
label = "encdata";
|
||
blkDev = "/dev/disk/by-uuid/6544f506-9a22-479c-8bfc-aee1b9e0deda";
|
||
keyFile = "/sysroot/var/crypto/key_data";
|
||
};
|
||
};
|
||
|
||
swapDevices = [ { device = "/dev/disk/by-uuid/561f6441-1915-4059-a5e1-76a449b0c9bf"; } ];
|
||
|
||
# bluetooth usb
|
||
hardware.firmware = [ pkgs.rtl8761b-firmware ];
|
||
}
|