feat(Infini-DESKTOP): persist /srv
This commit is contained in:
parent
5907aaf615
commit
b235e35df6
2 changed files with 11 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
|||
"/var/lib/systemd/coredump"
|
||||
"/var/lib/tailscale"
|
||||
"/var/lib/alsa"
|
||||
|
||||
"/srv"
|
||||
];
|
||||
|
||||
files = [
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue