mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-05-06 11:02:20 +02:00
52 lines
1.3 KiB
Nix
52 lines
1.3 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."/" =
|
|||
|
|
{ device = "/dev/mapper/crypt";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=root" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
boot.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/e482f2ab-7be3-48be-bb49-cc2661dd5eb6";
|
|||
|
|
|
|||
|
|
fileSystems."/home" =
|
|||
|
|
{ device = "/dev/mapper/crypt";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=home" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/nix" =
|
|||
|
|
{ device = "/dev/mapper/crypt";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=nix" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/F9B2-1EF8";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#fileSystems."/boot" =
|
|||
|
|
# { device = "/boot";
|
|||
|
|
# fsType = "none";
|
|||
|
|
# options = [ "bind" ];
|
|||
|
|
# };
|
|||
|
|
|
|||
|
|
swapDevices = [ ];
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|||
|
|
}
|