Compare commits

...

3 Commits

Author SHA1 Message Date
6dc8e03bb9 add zfs volume description to backup-target 2025-02-17 09:04:42 +01:00
21b5233077 format out network shares 2025-02-14 22:30:03 +01:00
817597d060 switch back to latest nvidia drivers 2025-02-14 16:37:37 +01:00
5 changed files with 28 additions and 16 deletions

View File

@@ -15,5 +15,13 @@
]; ];
}; };
fileSystems."/mnt/backup" =
{
#depends = [ "/" ];
device = "BACKUP/backup";
fsType = "zfs";
options = [ "nofail" ];
};
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
} }

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" ];
};
}

View File

@@ -19,6 +19,6 @@
nvidiaSettings = true; nvidiaSettings = true;
# set specific version # set specific version
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.latest;
}; };
} }