Archived
1
0
forked from rarias/bscpkgs

Move filesystems config to common/fs.nix

This commit is contained in:
2023-04-18 18:35:58 +02:00
committed by Rodrigo Arias Mallo
parent 035becd018
commit f5b4580dae
2 changed files with 9 additions and 18 deletions

View File

@@ -1,6 +1,15 @@
{ ... }:
{
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-label/swap"; }
];
# Mount the home via NFS
fileSystems."/home" = {
device = "10.0.40.30:/home";