mirror of
https://github.com/zoriya/home-manager.git
synced 2026-06-04 11:15:21 +00:00
treewide: replace replaceChars with replaceStrings
replaceChars is a deprecated alias, see https://github.com/NixOS/nixpkgs/commit/05a2dfd6744cdc6ab0b57f8ab866cc686b05f519 for details.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ let
|
||||
|
||||
# From <nixpkgs/nixos/modules/system/boot/systemd-lib.nix>
|
||||
mkPathSafeName =
|
||||
lib.replaceChars [ "@" ":" "\\" "[" "]" ] [ "-" "-" "-" "" "" ];
|
||||
lib.replaceStrings [ "@" ":" "\\" "[" "]" ] [ "-" "-" "-" "" "" ];
|
||||
|
||||
enabled = cfg.services != { } # \
|
||||
|| cfg.slices != { } # \
|
||||
|
||||
Reference in New Issue
Block a user