mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
style: alejandra $(fd -e nix)
This commit is contained in:
parent
97d9eecd3c
commit
e63304937d
91 changed files with 1422 additions and 1102 deletions
|
|
@ -6,8 +6,8 @@
|
|||
inherit (lib.modules) mkIf mkDefault;
|
||||
inherit (lib.lists) any;
|
||||
inherit (lib.strings) hasInfix concatMapStringsSep splitString;
|
||||
cfg = config.services.samba;
|
||||
hasIpv4 = any (hasInfix ".") config.systemd.network.networks.eth0.address or [ ];
|
||||
cfg = config.services.samba;
|
||||
hasIpv4 = any (hasInfix ".") config.systemd.network.networks.eth0.address or [];
|
||||
in {
|
||||
services.samba = {
|
||||
enable = mkDefault true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue