mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
61 lines
2.2 KiB
Nix
61 lines
2.2 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") ];
|
||
|
||
boot.initrd.availableKernelModules =
|
||
[ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.supportedFilesystems = [ "zfs" "ntfs" "btrfs" ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/03e49688-cc62-49c9-a906-e2ea87a38891";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
boot.initrd.luks.devices = {
|
||
"luks-root".device =
|
||
"/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260";
|
||
"luks-swap".device =
|
||
"/dev/disk/by-uuid/0418acfc-792c-43f4-a887-cc8bb51fa7c3";
|
||
};
|
||
|
||
fileSystems."/mnt/bulk" = {
|
||
device = "/dev/disk/by-uuid/11c2c896-d49a-4d9b-a846-b0a550128395";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/CCCC-449E";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
swapDevices = [
|
||
{ device = "/dev/disk/by-uuid/e7cf209d-386d-41db-8a35-6c9fff014722"; }
|
||
{
|
||
device = "/var/lib/swapfile";
|
||
size = 8 * 1024;
|
||
}
|
||
];
|
||
|
||
# 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.docker0.useDHCP = lib.mkDefault true;
|
||
networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.enp0s31f6.mtu = 1200;
|
||
# networking.interfaces.tun0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vboxnet0.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.intel.updateMicrocode =
|
||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|