Compare commits
3 Commits
2858d00428
...
6dc8e03bb9
| Author | SHA1 | Date | |
|---|---|---|---|
| 6dc8e03bb9 | |||
| 21b5233077 | |||
| 817597d060 |
@@ -15,5 +15,13 @@
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/backup" =
|
||||
{
|
||||
#depends = [ "/" ];
|
||||
device = "BACKUP/backup";
|
||||
fsType = "zfs";
|
||||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
||||
|
||||
@@ -21,21 +21,6 @@
|
||||
};
|
||||
# leftover from the original config
|
||||
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.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
./configuration.nix
|
||||
./nvidia.nix
|
||||
./plasma.nix
|
||||
./network-shares.nix
|
||||
|
||||
./backup-target.nix
|
||||
|
||||
@@ -43,6 +44,7 @@
|
||||
|
||||
./plasma.nix
|
||||
./users/shatteredmint.nix
|
||||
./network-shares.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
17
network-shares.nix
Normal file
17
network-shares.nix
Normal 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" ];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -19,6 +19,6 @@
|
||||
nvidiaSettings = true;
|
||||
|
||||
# set specific version
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user