mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 09:22:02 +01:00
6f18aa5f55
Signed-off-by: magic_rb <magic_rb@redalder.org>
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{secret, ...}: let
|
|
in {
|
|
systemd.services.nix-daemon.environment.TMPDIR = "/nix/tmp";
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "none";
|
|
fsType = "tmpfs";
|
|
options = ["defaults" "size=512M" "mode=755" "noexec"];
|
|
};
|
|
|
|
"/tmp" = {
|
|
device = "none";
|
|
fsType = "tmpfs";
|
|
options = ["defaults" "size=512M" "mode=755"];
|
|
};
|
|
|
|
"/nix/persist" = {
|
|
device = "heater-ssd/persist";
|
|
fsType = "zfs";
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/nix" = {
|
|
device = "heater-ssd/local/nix";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/home" = {
|
|
device = "heater-ssd/ephemeral/home";
|
|
fsType = "zfs";
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/root" = {
|
|
device = "heater-ssd/ephemeral/root";
|
|
fsType = "zfs";
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/nix/tmp" = {
|
|
device = "heater-ssd/ephemeral/nix-tmp";
|
|
fsType = "zfs";
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/c0a6bfbb-3553-4dc9-a299-b70070b8a52b";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/boot/EFI" = {
|
|
device = "/dev/disk/by-uuid/90B0-657C";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
|
|
swapDevices = [];
|
|
}
|