modules.hardware: fix printer security issue

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

View File

@ -986,11 +986,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1727530699,
"narHash": "sha256-Gfn8d6gbG5B+IO6mUWQXrnoUDCJUmrUD/M/QJDUsfRY=",
"lastModified": 1727884105,
"narHash": "sha256-J4lHJFQp7AFEa+O52KgYMCXkffAgpXWGyD89AU8xeJE=",
"owner": "CHN-beta",
"repo": "nixpkgs",
"rev": "9062900234c7d0157fc9612d36a1f03bc47040e9",
"rev": "e8db202a0ba0b25d01c01b49ed3025f7b0900d59",
"type": "github"
},
"original": {

View File

@ -28,6 +28,8 @@ inputs:
{
enable = true;
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; };
};