Rename nas-samba-share to more appropriate lxc-share

This commit is contained in:
pazpi 2026-05-13 08:39:04 +02:00
parent f279fbeb5d
commit c05a8f48b1
No known key found for this signature in database
8 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@ in
}; };
networking = { networking = {
nas-samba-share = { lxc_shares = {
enable = true; enable = true;
allowUsers = with config.services; [ allowUsers = with config.services; [
sonarr.user sonarr.user

View file

@ -48,7 +48,7 @@ in
}; };
}; };
networking.nas-samba-share = { networking.lxc_shares = {
enable = true; enable = true;
allowUsers = [ config.services.forgejo.user ]; allowUsers = [ config.services.forgejo.user ];
}; };

View file

@ -17,7 +17,7 @@
mediaDir = "/mnt/immich"; mediaDir = "/mnt/immich";
}; };
networking.nas-samba-share = { networking.lxc_shares = {
enable = true; enable = true;
allowUsers = [ config.services.immich.user ]; allowUsers = [ config.services.immich.user ];
}; };

View file

@ -34,7 +34,7 @@
proxy.domain = "pasetto.me"; proxy.domain = "pasetto.me";
}; };
networking.nas-samba-share = { networking.lxc_shares = {
enable = true; enable = true;
allowUsers = [ "nextcloud" ]; allowUsers = [ "nextcloud" ];
}; };

View file

@ -77,7 +77,7 @@ in
}; };
}; };
networking.nas-samba-share = { networking.lxc_shares = {
enable = true; enable = true;
allowUsers = [ config.services.paperless.user ]; allowUsers = [ config.services.paperless.user ];
}; };

View file

@ -17,7 +17,7 @@
ombi.enable = true; ombi.enable = true;
}; };
networking.nas-samba-share = { networking.lxc_shares = {
enable = true; enable = true;
allowUsers = [ config.services.plex.user ]; allowUsers = [ config.services.plex.user ];
}; };

View file

@ -3,7 +3,7 @@
./avahi.nix ./avahi.nix
./caddy.nix ./caddy.nix
./ddclient.nix ./ddclient.nix
./nas-samba-share.nix ./lxc_shares.nix
./shadowsocks.nix ./shadowsocks.nix
./tailscale.nix ./tailscale.nix
./technitium-dns-server.nix ./technitium-dns-server.nix

View file

@ -6,10 +6,10 @@
}: }:
with lib; with lib;
let let
cfg = config.my.networking.nas-samba-share; cfg = config.my.networking.lxc_shares;
in in
{ {
options.my.networking.nas-samba-share = { options.my.networking.lxc_shares = {
enable = mkEnableOption "Enable Samba connection with NAS"; enable = mkEnableOption "Enable Samba connection with NAS";
allowUsers = mkOption { allowUsers = mkOption {