feat(Infini-DESKTOP): persist /srv

This commit is contained in:
Infinidoge 2022-12-18 04:11:23 -05:00
parent 5907aaf615
commit b235e35df6
2 changed files with 11 additions and 0 deletions

View file

@ -25,6 +25,8 @@
"/var/lib/systemd/coredump"
"/var/lib/tailscale"
"/var/lib/alsa"
"/srv"
];
files = [

View file

@ -17,6 +17,8 @@ in
let
main = uuid "13f97ece-823e-4785-b06e-6c284105d379";
esp = uuid "1DB7-2844";
btrfsOptions = [ "defaults" "autodefrag" "noatime" ];
in
{
"/" = {
@ -32,6 +34,13 @@ in
neededForBoot = true;
};
"/persist/srv" = {
device = main;
fsType = "btrfs";
options = [ "subvol=root/srv" "ssd" ] ++ btrfsOptions;
neededForBoot = true;
};
"/etc/ssh" = {
device = main;
fsType = "btrfs";