From cdb88e95192bee9cf4366e06a2886b353dcbe836 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Tue, 5 Oct 2021 18:23:25 +0200 Subject: [PATCH] update --- emacs.el | 1 + i3/config | 9 ++++++++- nixos/cachix/nimmm.nix | 11 +++++++++++ nixos/dustbowl.nix | 8 ++++++-- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 nixos/cachix/nimmm.nix diff --git a/emacs.el b/emacs.el index 76431f8..ecb8c97 100644 --- a/emacs.el +++ b/emacs.el @@ -34,6 +34,7 @@ (straight-use-package 'go-mode) (straight-use-package 'fish-mode) (straight-use-package 'svelte-mode) +(straight-use-package 'yaml-mode) ;; (straight-use-package '(promela-mode ;; :type git diff --git a/i3/config b/i3/config index 5359f81..30a9b3c 100644 --- a/i3/config +++ b/i3/config @@ -217,7 +217,7 @@ exec --no-startup-id redshift -t 6000:2000 -l 49.87167:8.65027 # Screenshot bindsym $mod+y exec maim -s | xclip -selection clipboard -t image/png -bindsym $mod+Shift+y exec maim -s | feh - +bindsym $mod+Shift+y exec maim -s | imv - # Keyboard layout # exec --no-startup-id setxkbmap -layout de @@ -231,3 +231,10 @@ bindsym $mod+Shift+y exec maim -s | feh - # Picom exec --no-startup-id picom + +# Passthrough mode +set $passthrough_keys Suspend all window manager keys exit: Mod+Shift+P +mode "$passthrough_keys" { + bindsym $mod+Shift+p mode "default" +} +bindsym $mod+Shift+p mode "$passthrough_keys" diff --git a/nixos/cachix/nimmm.nix b/nixos/cachix/nimmm.nix new file mode 100644 index 0000000..45ad2c2 --- /dev/null +++ b/nixos/cachix/nimmm.nix @@ -0,0 +1,11 @@ + +{ + nix = { + binaryCaches = [ + "https://nimmm.cachix.org" + ]; + binaryCachePublicKeys = [ + "nimmm.cachix.org-1:usYhOtylPbGmyX95Xdy2YVMOKZVBBt4pTQVAQrzw+0k="; + ]; + }; +} diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index a7fcbaf..6fad8ff 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -217,8 +217,12 @@ # Enable CUPS to print documents. services.printing.enable = true; services.printing.drivers = [ pkgs.hplipWithPlugin ]; - hardware.sane.enable = true; - hardware.sane.extraBackends = [ pkgs.hplipWithPlugin ]; + + hardware.sane = { + enable = true; + brscan4.enable = true; + extraBackends = [ pkgs.hplipWithPlugin ]; + }; # Redshift # services.redshift = {