|
|
@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
# 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" "sd_mod" "sdhci_pci" ];
|
|
|
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/3419ac6f-945f-4bcf-99ef-a7f44f235baa";
|
|
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."luks-2397dd7e-fa95-4f39-8b3c-da631dd4c057".device = "/dev/disk/by-uuid/2397dd7e-fa95-4f39-8b3c-da631dd4c057";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/B4CB-7B01";
|
|
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/run/media/alexuty/ssd" =
|
|
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/4ec41e6f-4eb7-4328-a991-51c097acf2ff";
|
|
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
|
|
|
|
|
|
|
[ { device = "/dev/disk/by-uuid/3262e74a-2050-4ce9-baee-8d44701f19dd"; }
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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.enp4s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
|
|
}
|