From b39f24436d5672e90e4261f0dfb906d97e92f1be Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 8 Jun 2026 15:38:48 -0500 Subject: new nas mountpoints and poweredge hostname + remove old hostnames --- hosts/optiplex/configuration.nix | 5 ++--- users/timmy/hosts.nix | 4 +--- users/timmy/nas.nix | 7 +++---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix index e509e83..74d09b5 100644 --- a/hosts/optiplex/configuration.nix +++ b/hosts/optiplex/configuration.nix @@ -44,9 +44,8 @@ autologin.enable = true; nas = { enable = true; - #home.enable = true; - #home.automount = true; - office.enable = true; + home.enable = true; + home.automount = true; }; }; diff --git a/users/timmy/hosts.nix b/users/timmy/hosts.nix index 16d9619..970b9d8 100644 --- a/users/timmy/hosts.nix +++ b/users/timmy/hosts.nix @@ -1,8 +1,6 @@ { networking.hosts = { - "192.168.1.9" = [ "optiplex" ]; - "192.168.1.30" = [ "localgit" ]; - "192.168.1.11" = [ "truenas-home" ]; + "192.168.1.1" = [ "poweredge" ]; # TODO remove once poweredge serves this override correctly "192.168.77.11" = [ "truenas-office" ]; "192.168.77.8" = [ "publicgit" "tjkeller" ]; "192.168.77.3" = [ "devel" ]; diff --git a/users/timmy/nas.nix b/users/timmy/nas.nix index 8fa28c3..bacb0f0 100644 --- a/users/timmy/nas.nix +++ b/users/timmy/nas.nix @@ -21,10 +21,9 @@ in { config = lib.mkIf cfg.enable { fileSystems = lib.optionalAttrs cfg.home.enable { - "/media/Storage/Media" = mkNetworkFileSystem "truenas-home:/mnt/Storage/Media" cfg.home.automount; - "/media/Storage/Backups" = mkNetworkFileSystem "truenas-home:/mnt/Storage/Backups" cfg.home.automount; - "/media/Storage/Tapes" = mkNetworkFileSystem "truenas-home:/mnt/Storage/Backups/Tapes" cfg.home.automount; - "/media/Family Photos" = mkNetworkFileSystem "truenas-home:/mnt/Media/Photos" cfg.home.automount; + "/media/ingens/backups" = mkNetworkFileSystem "poweredge:/media/ingens/backups" cfg.home.automount; + "/media/ingens/tapes" = mkNetworkFileSystem "poweredge:/media/ingens/tapes" cfg.home.automount; + "/media/ingens/pictures" = mkNetworkFileSystem "poweredge:/media/ingens/pictures" cfg.home.automount; } // lib.optionalAttrs cfg.office.enable { "/media/chexx/chexx" = mkNetworkFileSystem "truenas-office:/mnt/Storage/chexx" cfg.office.automount; "/media/chexx/tkdocs" = mkNetworkFileSystem "truenas-office:/mnt/Storage/Users/Tim-Keller" cfg.office.automount; -- cgit v1.2.3