statix: fix bugs with inherit
now I know better what it does.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
};
|
||||
|
||||
config = let
|
||||
inherit (config.mj.services.friendlyport.ports);
|
||||
inherit (config.mj.services.friendlyport) ports;
|
||||
|
||||
mkAdd = proto: subnets: ints: let
|
||||
subnetsS = builtins.concatStringsSep "," subnets;
|
||||
|
||||
@@ -69,7 +69,7 @@ in {
|
||||
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
inherit (cfg.hostname);
|
||||
inherit (cfg) hostname;
|
||||
};
|
||||
|
||||
users.users.jakstpub = {
|
||||
|
||||
@@ -105,10 +105,7 @@ in {
|
||||
];
|
||||
|
||||
services.syncthing = {
|
||||
inherit (cfg.enable);
|
||||
inherit (cfg.user);
|
||||
inherit (cfg.group);
|
||||
inherit (cfg.dataDir);
|
||||
inherit (cfg) enable user group dataDir;
|
||||
|
||||
openDefaultPorts = true;
|
||||
guiAddress = let
|
||||
|
||||
Reference in New Issue
Block a user