networking linting

This commit is contained in:
2024-07-04 20:39:31 -06:00
parent c9d9a24570
commit 5d00de2886
2 changed files with 3 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ in {
packages = with pkgs; [
mediainfo
nodejs
(python3.withPackages (ps: with ps; [ tensorflow ]))
perl
(python3.withPackages (ps: with ps; [ tensorflow ]))
(perlPackages.buildPerlPackage rec {
pname = "Image-ExifTool";
version = "12.70";
@@ -218,7 +218,7 @@ in {
--o:ssl.termination=true
'';
};
extraOptions = [ "--cap-add" "MKNOD" ];
extraOptions = [ "--cap-add=MKNOD" ];
};
};
};

View File

@@ -2,15 +2,14 @@
options.my.services.network.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.services.network.enable {
networking = {
useDHCP = lib.mkDefault true;
enableIPv6 = false;
firewall.enable = true;
networkmanager.enable = true;
extraHosts = ''
192.168.1.64 workstation
192.168.1.69 server
192.168.1.100 miniserver
'';
firewall.enable = true;
};
};
}