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/systemd/coredump"
|
||||||
"/var/lib/tailscale"
|
"/var/lib/tailscale"
|
||||||
"/var/lib/alsa"
|
"/var/lib/alsa"
|
||||||
|
|
||||||
|
"/srv"
|
||||||
];
|
];
|
||||||
|
|
||||||
files = [
|
files = [
|
||||||
|
|
|
@ -17,6 +17,8 @@ in
|
||||||
let
|
let
|
||||||
main = uuid "13f97ece-823e-4785-b06e-6c284105d379";
|
main = uuid "13f97ece-823e-4785-b06e-6c284105d379";
|
||||||
esp = uuid "1DB7-2844";
|
esp = uuid "1DB7-2844";
|
||||||
|
|
||||||
|
btrfsOptions = [ "defaults" "autodefrag" "noatime" ];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"/" = {
|
"/" = {
|
||||||
|
@ -32,6 +34,13 @@ in
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"/persist/srv" = {
|
||||||
|
device = main;
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=root/srv" "ssd" ] ++ btrfsOptions;
|
||||||
|
neededForBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
"/etc/ssh" = {
|
"/etc/ssh" = {
|
||||||
device = main;
|
device = main;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue