74 lines
1.2 KiB
Nix
74 lines
1.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 = [
|
||
"usb_storage"
|
||
"sdhci_pci"
|
||
];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
label = "nixos";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=root"
|
||
"compress=zstd"
|
||
"relatime"
|
||
];
|
||
};
|
||
|
||
"/home" = {
|
||
label = "nixos";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=home"
|
||
"compress=zstd"
|
||
"relatime"
|
||
];
|
||
};
|
||
|
||
"/nix" = {
|
||
label = "nixos";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=nix"
|
||
"compress=zstd"
|
||
"noatime"
|
||
];
|
||
};
|
||
|
||
"/boot" = {
|
||
label = "efi";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
"umask=0077"
|
||
];
|
||
};
|
||
};
|
||
|
||
swapDevices = [
|
||
{
|
||
label = "swap";
|
||
}
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
}
|