modules.hardware: fix printer security issue

This commit is contained in:
陈浩南 2024-10-02 23:35:26 +08:00
parent ed53e8e1a1
commit 3e29d59895
2 changed files with 5 additions and 3 deletions

View File

@ -1444,11 +1444,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1719895017, "lastModified": 1727884169,
"narHash": "sha256-dvDKFMhp6Mv43h5ltj9eufLMPZPJdCD0Cgb84ElrQdM=", "narHash": "sha256-iNVKcex08zF9rjsUA5ddw0zl8+bT/clu8sH1l9pugII=",
"owner": "CHN-beta", "owner": "CHN-beta",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "57b8c9a31ec9cbcbbedaeb2259d050d240e239a2", "rev": "60dc0aa15e73e2352275d96bf8fc5f45f62b0522",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -29,6 +29,8 @@ inputs:
{ {
enable = true; enable = true;
drivers = inputs.lib.mkIf (inputs.config.nixos.system.nixpkgs.arch == "x86_64") [ inputs.pkgs.cnijfilter2 ]; drivers = inputs.lib.mkIf (inputs.config.nixos.system.nixpkgs.arch == "x86_64") [ inputs.pkgs.cnijfilter2 ];
# TODO: remove in next update
browsed.enable = false;
}; };
avahi = { enable = true; nssmdns4 = true; openFirewall = true; }; avahi = { enable = true; nssmdns4 = true; openFirewall = true; };
}; };