31 lines
861 B
Nix
31 lines
861 B
Nix
{config, lib, pkgs, modulesPath, ...}: {
|
|
imports = [ ];
|
|
|
|
fileSystems."/" = {
|
|
device = "gha-root";
|
|
fsType = "tmpfs";
|
|
options = [ "size=1G" "mode=755" ];
|
|
};
|
|
fileSystems."/persist" = {
|
|
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; #TODO
|
|
fsType = "btrfs";
|
|
options = [ "subvol=persist" ];
|
|
neededForBoot = true;
|
|
};
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/75b01f48-e159-4d72-b049-54b7af072076"; #TODO
|
|
fsType = "ext4";
|
|
};
|
|
fileSystems."/nix" = {
|
|
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; #TODO
|
|
fsType = "btrfs";
|
|
options = [ "subvol=nix" ];
|
|
};
|
|
|
|
swapDevices =
|
|
[{ device = "/dev/disk/by-uuid/8bc30d17-3c08-4648-ab18-8c723523be1a"; }]; #TODO
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 4;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|