2024-04-05 22:04:41 -04:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
2024-05-11 12:51:25 -04:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2024-04-05 22:04:41 -04:00
|
|
|
|
2024-05-11 12:51:25 -04:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "none";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [ "defaults" "mode=755" ];
|
|
|
|
};
|
|
|
|
fileSystems."/persist" = {
|
|
|
|
device = "/dev/disk/by-uuid/6df53c4f-42b6-478b-8be4-f7887ad18b5b";
|
|
|
|
fsType = "btrfs";
|
|
|
|
neededForBoot = true;
|
|
|
|
options = [ "compress=lzo" "autodefrag" "defaults" "subvol=@nixos/root" ];
|
|
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/a4d76da9-b8eb-4615-9d64-a36e1383da80";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "defaults" ];
|
|
|
|
};
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
device = "/dev/disk/by-uuid/6df53c4f-42b6-478b-8be4-f7887ad18b5b";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = [ "compress=lzo" "autodefrag" "defaults" "subvol=@nixos/nix" ];
|
|
|
|
};
|
2024-04-05 22:04:41 -04:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
|
|
}
|
|
|
|
|