(musicbrainz, minecraft) mount disks by label, swap part
This commit is contained in:
parent
d7b5116106
commit
06e6d6d1ae
2 changed files with 12 additions and 4 deletions
|
@ -5,16 +5,21 @@
|
|||
in {
|
||||
boot.loader.grub.device = rootDisk;
|
||||
|
||||
# Root filesystem.
|
||||
fileSystems."/" = {
|
||||
device = rootPart;
|
||||
device = "/dev/disk/by-label/root";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# Docker data directory.
|
||||
fileSystems."/home/fern/docker" = {
|
||||
device = dockerPart;
|
||||
device = "/dev/disk/by-label/docker";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# Swap partition.
|
||||
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||
|
||||
# Update Musicbrainz search indexes once a week.
|
||||
systemd.timers."musicbrainz-update-indexes" = {
|
||||
wantedBy = ["timers.target"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue