updated NFS shares and deleted individual share modules
Check NixOS configurations / eval-hosts (push) Failing after 14m29s

This commit is contained in:
2026-07-07 03:09:56 +10:00
parent a553958bb9
commit 83481b5291
5 changed files with 13 additions and 65 deletions
+10 -5
View File
@@ -17,8 +17,6 @@ in
../../common/configuration.nix
../../modules/nix/cache-client.nix
../../modules/nix/remote-builder-client.nix
# ../../modules/nix/mount-docker-config.nix
# ../../modules/nix/mount-docker-volumes.nix
../../modules/nix/docker-data.nix
];
@@ -195,12 +193,19 @@ systemd.timers.nextcloud = {
};
};
systemd.tmpfiles.rules = [
# Create /mnt/docker
#"d /mnt/docker 0755 root root -"
# Create /home/nixos/docker -> /mnt/docker-config
"L+ /home/nixos/docker - - - - /mnt/docker/config"
];
#Add sym links to data on users home folder
system.userActivationScripts.createDockerSymlink.text = ''
ln -sf /mnt/docker-config /home/nixos/docker
'';
#system.userActivationScripts.createDockerSymlink.text = ''
# ln -sf /mnt/docker/config /home/nixos/docker
#'';
#system.userActivationScripts.createSetupSymlink.text = ''
# ln -sf /mnt/docker-persistent-data/setup /home/nixos/setup
#'';
+3 -15
View File
@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/mnt/docker-config" = {
fileSystems."/mnt/docker/config" = {
device = "server:/tank/docker/config";
fsType = "nfs";
@@ -13,7 +13,7 @@
];
};
fileSystems."/mnt/docker-databases" = {
fileSystems."/mnt/docker/databases" = {
device = "server:/tank/docker/databases";
fsType = "nfs";
@@ -25,7 +25,7 @@
];
};
fileSystems."/mnt/docker-volumes" = {
fileSystems."/mnt/docker/volumes" = {
device = "server:/tank/docker/volumes";
fsType = "nfs";
@@ -49,16 +49,4 @@
];
};
fileSystems."/mnt/docker/test" = {
device = "server:/tank/docker/nextcloud-data";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}
-15
View File
@@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/mnt/docker-config" = {
device = "server:/tank/docker/config";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}
-15
View File
@@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/mnt/docker-databases" = {
device = "server:/tank/docker/databases";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}
-15
View File
@@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/mnt/docker-volumes" = {
device = "server:/tank/docker/volumes";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}