forked from nico/dots
nijika: remove media drive
This commit is contained in:
parent
5aae9811c6
commit
e271a07a70
1 changed files with 0 additions and 43 deletions
|
|
@ -56,49 +56,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
media = {
|
|
||||||
type = "disk";
|
|
||||||
device = "/dev/sda";
|
|
||||||
content = {
|
|
||||||
type = "gpt";
|
|
||||||
partitions = {
|
|
||||||
luks = {
|
|
||||||
size = "100%";
|
|
||||||
content = {
|
|
||||||
type = "luks";
|
|
||||||
name = "media";
|
|
||||||
settings = {
|
|
||||||
allowDiscards = true;
|
|
||||||
fallbackToPassword = false;
|
|
||||||
keyFile = "/sysroot/var/lib/disk-media.key";
|
|
||||||
};
|
|
||||||
content = {
|
|
||||||
type = "btrfs";
|
|
||||||
extraArgs = [ "-f" ];
|
|
||||||
subvolumes = {
|
|
||||||
"/media/shows" = {
|
|
||||||
mountpoint = "/media/shows";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
"/media/movies" = {
|
|
||||||
mountpoint = "/media/movies";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
"/media/music" = {
|
|
||||||
mountpoint = "/media/music";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
"/media/books" = {
|
|
||||||
mountpoint = "/media/books";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue