From 74b1fac4eb7df24756f9d19b2d6ed673cfbc6329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Tue, 29 Aug 2023 10:15:20 +0200 Subject: [PATCH] feat: enable printing and scanning again for chocolatebar --- hosts/chocolatebar/.config/sway/config.d/screens.conf | 4 ++-- hosts/chocolatebar/chocolatebar.nix | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/chocolatebar/.config/sway/config.d/screens.conf b/hosts/chocolatebar/.config/sway/config.d/screens.conf index 25869c20..29b2812e 100644 --- a/hosts/chocolatebar/.config/sway/config.d/screens.conf +++ b/hosts/chocolatebar/.config/sway/config.d/screens.conf @@ -1,6 +1,6 @@ set $left DP-3 -set $middle DP-1 -set $right HDMI-A-1 +set $middle DP-2 +set $right DP-1 output $left { scale 1 diff --git a/hosts/chocolatebar/chocolatebar.nix b/hosts/chocolatebar/chocolatebar.nix index 85ee84e9..158edede 100644 --- a/hosts/chocolatebar/chocolatebar.nix +++ b/hosts/chocolatebar/chocolatebar.nix @@ -68,6 +68,10 @@ in { }; pub-solar.sway.vnc.enable = true; + services.printing.drivers = [ + pkgs.cups-brother-hl3140cw + ]; + home-manager.users."${psCfg.user.name}" = { xdg.configFile = mkIf psCfg.sway.enable { "sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf;