mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixos/suites/filesystem: update device names
This commit is contained in:
parent
bece09c134
commit
44b0ba9a61
@ -34,16 +34,15 @@ in
|
|||||||
|
|
||||||
(lib.mkIf cfg.setups.archive.enable {
|
(lib.mkIf cfg.setups.archive.enable {
|
||||||
fileSystems."/mnt/archives" = {
|
fileSystems."/mnt/archives" = {
|
||||||
device = "/dev/disk/by-uuid/6ba86a30-5fa4-41d9-8354-fa8af0f57f49";
|
device = "/dev/disk/by-partlabel/disk-archive-root";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
options = [
|
options = [
|
||||||
# These are btrfs-specific mount options which can found in btrfs.5
|
# These are btrfs-specific mount options which can found in btrfs.5
|
||||||
# manual page.
|
# manual page.
|
||||||
"subvol=@"
|
"subvol=/root"
|
||||||
"noatime"
|
"noatime"
|
||||||
"compress=zstd:9"
|
"compress=zstd:6"
|
||||||
"space_cache=v2"
|
|
||||||
|
|
||||||
"noauto"
|
"noauto"
|
||||||
"nofail"
|
"nofail"
|
||||||
@ -58,14 +57,16 @@ in
|
|||||||
|
|
||||||
(lib.mkIf cfg.setups.external-hdd.enable {
|
(lib.mkIf cfg.setups.external-hdd.enable {
|
||||||
fileSystems."/mnt/external-storage" = {
|
fileSystems."/mnt/external-storage" = {
|
||||||
device = "/dev/disk/by-uuid/665A391C5A38EB07";
|
device = "/dev/disk/by-partlabel/disk-live-installer-root";
|
||||||
fsType = "ntfs";
|
fsType = "btrfs";
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
options = [
|
options = [
|
||||||
"nofail"
|
"nofail"
|
||||||
"noauto"
|
"noauto"
|
||||||
"user"
|
"user"
|
||||||
|
|
||||||
|
"subvol=/data"
|
||||||
|
"compress=zstd"
|
||||||
"x-systemd.automount"
|
"x-systemd.automount"
|
||||||
"x-systemd.device-timeout=2"
|
"x-systemd.device-timeout=2"
|
||||||
"x-systemd.idle-timeout=2"
|
"x-systemd.idle-timeout=2"
|
||||||
|
Loading…
Reference in New Issue
Block a user