55 lines
1.6 KiB
Nix
55 lines
1.6 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.
|
|||
|
{
|
|||
|
lib,
|
|||
|
modulesPath,
|
|||
|
...
|
|||
|
}: {
|
|||
|
imports = [
|
|||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|||
|
];
|
|||
|
|
|||
|
powerManagement.cpuFreqGovernor = "conservative";
|
|||
|
|
|||
|
boot.initrd.availableKernelModules = ["usb_storage"];
|
|||
|
boot.initrd.kernelModules = [];
|
|||
|
boot.kernelModules = [];
|
|||
|
boot.extraModulePackages = [];
|
|||
|
|
|||
|
fileSystems."/" = {
|
|||
|
device = "/dev/disk/by-uuid/bc2d65bb-2316-404d-aff4-cba0cca8f6b5";
|
|||
|
fsType = "btrfs";
|
|||
|
options = ["subvol=root"];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/home" = {
|
|||
|
device = "/dev/disk/by-uuid/bc2d65bb-2316-404d-aff4-cba0cca8f6b5";
|
|||
|
fsType = "btrfs";
|
|||
|
options = ["subvol=home"];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/nix" = {
|
|||
|
device = "/dev/disk/by-uuid/bc2d65bb-2316-404d-aff4-cba0cca8f6b5";
|
|||
|
fsType = "btrfs";
|
|||
|
options = ["subvol=nix"];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/boot" = {
|
|||
|
device = "/dev/disk/by-uuid/23FC-1D19";
|
|||
|
fsType = "vfat";
|
|||
|
options = ["fmask=0022" "dmask=0022"];
|
|||
|
};
|
|||
|
|
|||
|
swapDevices = [];
|
|||
|
|
|||
|
# 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.wlan0.useDHCP = lib.mkDefault true;
|
|||
|
|
|||
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|||
|
}
|