Update & Printing

This commit is contained in:
David C
2023-06-09 23:47:35 -04:00
parent eeb0fb71c3
commit 943d08c77b
3 changed files with 11 additions and 3 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1684570954,
"narHash": "sha256-FX5y4Sm87RWwfu9PI71XFvuRpZLowh00FQpIJ1WfXqE=",
"lastModified": 1685931219,
"narHash": "sha256-8EWeOZ6LKQfgAjB/USffUSELPRjw88A+xTcXnOUvO5M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3005f20ce0aaa58169cdee57c8aa12e5f1b6e1b3",
"rev": "7409480d5c8584a1a83c422530419efe4afb0d19",
"type": "github"
},
"original": {

View File

@@ -45,6 +45,7 @@
./programs/programming.nix
./programs/terminal.nix
./programs/video.nix
./printing.nix
];
};
};

7
printing.nix Normal file
View File

@@ -0,0 +1,7 @@
{
services.printing.enable = true;
services.avahi.enable = true;
services.avahi.nssmdns = true;
# for a WiFi printer
services.avahi.openFirewall = true;
}