2023-12-12 16:32:24 -06:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
2023-12-12 16:25:58 -06:00
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
2024-10-19 01:19:59 -05:00
|
|
|
|
{
|
|
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
modulesPath,
|
2025-08-23 01:48:05 -05:00
|
|
|
|
pkgs,
|
2024-10-19 01:19:59 -05:00
|
|
|
|
...
|
|
|
|
|
|
}:
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
|
|
|
|
|
{
|
2024-10-19 01:19:59 -05:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2025-08-23 01:48:05 -05:00
|
|
|
|
boot = {
|
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
|
initrd = {
|
|
|
|
|
|
availableKernelModules = [
|
|
|
|
|
|
"nvme"
|
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
|
"ahci"
|
|
|
|
|
|
"usb_storage"
|
|
|
|
|
|
"usbhid"
|
|
|
|
|
|
"sd_mod"
|
|
|
|
|
|
"sr_mod"
|
|
|
|
|
|
];
|
|
|
|
|
|
kernelModules = [ ];
|
|
|
|
|
|
};
|
|
|
|
|
|
loader = {
|
|
|
|
|
|
timeout = 15;
|
|
|
|
|
|
systemd-boot = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
configurationLimit = 20;
|
|
|
|
|
|
extraEntries = {
|
|
|
|
|
|
"Win2.conf" = (
|
|
|
|
|
|
lib.strings.concatStringsSep "\n" [
|
|
|
|
|
|
"title Windows 11"
|
|
|
|
|
|
"efi /shellx64.efi"
|
|
|
|
|
|
"options -nointerrupt -noconsolein -noconsoleout windows11.nsh"
|
|
|
|
|
|
]
|
|
|
|
|
|
);
|
|
|
|
|
|
"Shell.conf" = (
|
|
|
|
|
|
lib.strings.concatStringsSep "\n" [
|
|
|
|
|
|
"title EFI Shell"
|
|
|
|
|
|
"efi /shell.efi"
|
|
|
|
|
|
]
|
|
|
|
|
|
);
|
|
|
|
|
|
};
|
|
|
|
|
|
extraFiles = {
|
|
|
|
|
|
"windows11.nsh" = (pkgs.writeText "windows11.nsh" (lib.strings.concatStringsSep "\n" [ ]));
|
|
|
|
|
|
"shell.efi" = "${pkgs.edk2-uefi-shell}/shell.efi";
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79";
|
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
|
options = [ "subvol=nixos" ];
|
|
|
|
|
|
};
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79";
|
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
|
options = [ "subvol=home" ];
|
|
|
|
|
|
};
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fileSystems."/boot" = {
|
2025-08-23 01:48:05 -05:00
|
|
|
|
device = "/dev/disk/by-uuid/4A92-3E4B";
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
};
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fileSystems."/myvol" = {
|
2025-08-23 01:48:05 -05:00
|
|
|
|
device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79";
|
2024-10-19 01:19:59 -05:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
|
};
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2025-07-03 01:36:59 -05:00
|
|
|
|
fileSystems."/var/lib/longhorn" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/b9f5ace7-d224-4aff-8770-d5a9d22be2ae";
|
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2024-10-03 11:26:39 -05:00
|
|
|
|
swapDevices = [ ];
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-03 11:26:39 -05:00
|
|
|
|
# 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.enp38s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.enp39s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.enp42s0f3u5u3c2.useDHCP = lib.mkDefault true;
|
2023-12-12 16:25:58 -06:00
|
|
|
|
|
2024-10-03 11:26:39 -05:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-12-12 16:25:58 -06:00
|
|
|
|
}
|