diff options
author | Izorkin <izorkin@elven.pw> | 2023-10-04 22:43:33 +0300 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-10-10 20:13:52 +0200 |
commit | cfd837442f529f10331e401e9975ae551360a4c4 (patch) | |
tree | c34e51a3bb6cc8098eb0dc29f3c86f931b3360fa /nixos/modules/services/network-filesystems | |
parent | f3d84b91e9f33651532ad792083da5206d78732a (diff) | |
download | nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar.gz nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar.bz2 nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar.lz nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar.xz nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.tar.zst nixpkgs-cfd837442f529f10331e401e9975ae551360a4c4.zip |
nixos/samba: start service after network activation
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/samba.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index 1310a374abd..0b22302c0b6 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -39,7 +39,7 @@ let daemonService = appName: args: { description = "Samba Service Daemon ${appName}"; - after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") ]; + after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") "network.target" ]; requiredBy = [ "samba.target" ]; partOf = [ "samba.target" ]; |