From b41adf3d55a2b1f74bf14a2788bff9618049ef2a Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Fri, 14 Apr 2023 13:51:15 +0200 Subject: [PATCH] nix: add printing, browsers, update --- nix/configuration.nix | 12 ++++++++++-- nix/flake.lock | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/nix/configuration.nix b/nix/configuration.nix index 537dea0..8cc9827 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -91,7 +91,12 @@ console.keyMap = "de"; # Enable CUPS to print documents. + # hardware.sane.enable = true; services.printing.enable = true; + services.printing.browsing = true; + # services.avahi.enable = true; + # services.avahi.nssmdns = true; + services.printing.drivers = with pkgs; [ gutenprint ]; # Enable sound with pipewire. sound.enable = true; @@ -124,7 +129,7 @@ packages = with pkgs; [ firefox thunderbird - unstable.nextcloud-client + nextcloud-client qalculate-gtk schildichat-desktop tdesktop @@ -135,6 +140,8 @@ audacity gnome.cheese unstable.zoom-us + qutebrowser + evince ]; }; @@ -164,10 +171,11 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - tldr + tealdeer gcolor2 # gcolor3 does not work vim neovim + # cups wget gparted emacs diff --git a/nix/flake.lock b/nix/flake.lock index 0cac660..9aaffad 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -22,11 +22,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1678978893, - "narHash": "sha256-fJTi5rqDGmb5AnfcZBVLsXJ5jkEW8h16nkRqD1/Ll6Y=", + "lastModified": 1681398073, + "narHash": "sha256-EOctfPaRaJGi9qrhWRG4Zjbnc0Rbg51uOY0HOaBftp0=", "owner": "doronbehar", "repo": "nix-matlab", - "rev": "3775c69ddda960114131e6492484c025ae3873f3", + "rev": "5d5b91151627c86d8a6f2bfa846fd0ccf02edb72", "type": "gitlab" }, "original": { @@ -37,11 +37,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1678875422, - "narHash": "sha256-T3o6NcQPwXjxJMn2shz86Chch4ljXgZn746c2caGxd8=", + "lastModified": 1681358109, + "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "126f49a01de5b7e35a43fd43f891ecf6d3a51459", + "rev": "96ba1c52e54e74c3197f4d43026b3f3d92e83ff9", "type": "github" }, "original": { @@ -51,11 +51,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1678898370, - "narHash": "sha256-xTICr1j+uat5hk9FyuPOFGxpWHdJRibwZC+ATi0RbtE=", + "lastModified": 1681303793, + "narHash": "sha256-JEdQHsYuCfRL2PICHlOiH/2ue3DwoxUX7DJ6zZxZXFk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ac718d02867a84b42522a0ece52d841188208f2c", + "rev": "fe2ecaf706a5907b5e54d979fbde4924d84b65fc", "type": "github" }, "original": { @@ -66,11 +66,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1678872516, - "narHash": "sha256-/E1YwtMtFAu2KUQKV/1+KFuReYPANM2Rzehk84VxVoc=", + "lastModified": 1681269223, + "narHash": "sha256-i6OeI2f7qGvmLfD07l1Az5iBL+bFeP0RHixisWtpUGo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8", + "rev": "87edbd74246ccdfa64503f334ed86fa04010bab9", "type": "github" }, "original": {