From d8a5a01c308d0971f18c7098d6601d6dd8c92b2b Mon Sep 17 00:00:00 2001 From: roxwize Date: Tue, 21 Jan 2025 17:01:57 -0500 Subject: [PATCH] ~ --- nixos/home/firefox.nix | 4 ++++ nixos/hosts/base.nix | 8 ++++++++ nixos/packages.nix | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/home/firefox.nix b/nixos/home/firefox.nix index 208b0ee..39fa292 100644 --- a/nixos/home/firefox.nix +++ b/nixos/home/firefox.nix @@ -65,6 +65,10 @@ name = "Toolbar"; toolbar = true; bookmarks = [ + { + name = "CUPS interface"; + url = "http://127.0.0.1:631/"; + } { name = "Pinky & Pepper Forever"; url = "https://www.silversprocket.net/2020/05/02/pinky-and-pepper-forever-by-eddy-atoms-part-1-of-2/"; diff --git a/nixos/hosts/base.nix b/nixos/hosts/base.nix index 88da7a1..d395cc0 100644 --- a/nixos/hosts/base.nix +++ b/nixos/hosts/base.nix @@ -69,7 +69,15 @@ pulse.enable = true; }; # CUPS printing + # Can be configured at http://127.0.0.1:631/ + # Local printers are host-specific (see `hardware.printers`) + # Avahi enables IPP Everywhere printing.enable = true; + avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; # misc flatpak = { enable = true; diff --git a/nixos/packages.nix b/nixos/packages.nix index 702fa6b..22b8888 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -7,7 +7,7 @@ environment.systemPackages = with pkgs; [ # development cc65 # C compiler for processors of 6502 family - chibicc-uxn + chibicc-uxn # A small C compiler... for uxn (fenix.default.withComponents [ "cargo" "rustc" ]) gcc # GNU Compiler Collection, version 13.3.0 (wrapper script) git # Distributed version control system