format out network shares

This commit is contained in:
2025-02-14 17:42:39 +01:00
parent 817597d060
commit 21b5233077
3 changed files with 19 additions and 15 deletions

View File

@@ -21,21 +21,6 @@
}; };
# leftover from the original config # leftover from the original config
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# mount network shares
fileSystems."/mnt/nas/private" = {
device = "dashboard.omv:/ShatteredMINT";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
fileSystems."/mnt/nas/shared" = {
device = "dashboard.omv:/default-nas";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";

View File

@@ -25,6 +25,7 @@
./configuration.nix ./configuration.nix
./nvidia.nix ./nvidia.nix
./plasma.nix ./plasma.nix
./network-shares.nix
./backup-target.nix ./backup-target.nix
@@ -43,6 +44,7 @@
./plasma.nix ./plasma.nix
./users/shatteredmint.nix ./users/shatteredmint.nix
./network-shares.nix
]; ];
}; };
}; };

17
network-shares.nix Normal file
View File

@@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
{
# mount network shares
fileSystems."/mnt/nas/private" = {
device = "dashboard.omv:/ShatteredMINT";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
fileSystems."/mnt/nas/shared" = {
device = "dashboard.omv:/default-nas";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
}