NixOS dotfiles

✨ Add clipboard history

+26 -4
+16
home/clipboard.nix
··· 1 + { ... }: 2 + 3 + { 4 + services.cliphist = { 5 + enable = true; 6 + # A Wayland session 7 + systemdTargets = [ "config.wayland.systemd.target" ]; 8 + extraOptions = [ 9 + "-max-dedupe-search" 10 + "10" 11 + "-max-items" 12 + "500" 13 + ]; 14 + allowImages = true; 15 + }; 16 + }
+1
home/home.nix
··· 14 14 ./niri 15 15 ./waybar 16 16 17 + ./clipboard.nix 17 18 ./codium.nix 18 19 ./git.nix 19 20 ./terminal.nix
+2 -1
home/niri/config/config.kdl
··· 85 85 86 86 spawn-at-startup "waybar" 87 87 spawn-sh-at-startup "nm-applet --indicator" 88 - spawn-sh-at-startup "udiskie &" 88 + spawn-sh-at-startup "udiskie" 89 + spawn-sh-at-startup "wl-paste --watch cliphist store" 89 90 spawn-sh-at-startup "blueman-applet" 90 91 spawn-sh-at-startup "waypaper --random" 91 92 spawn-sh-at-startup "swayidle -w timeout 600 'swaylock -f' timeout 900 'niri msg output power off' resume 'niri msg output power on' before-sleep 'swaylock -f'"
+2 -1
home/niri/config/input.kdl
··· 87 87 Mod+Ctrl+Shift+Equal { set-column-width "-5%"; } 88 88 Mod+Ctrl+Equal { set-column-width "+5%"; } 89 89 90 - Mod+V { toggle-window-floating; } 90 + Mod+Shift+V { toggle-window-floating; } 91 + Mod+V { spawn-sh "cliphist list | wofi -S dmenu | cliphist decode | wl-copy"; } 91 92 92 93 Print { screenshot; } 93 94 Ctrl+Print { screenshot-screen; }
+5 -2
hosts/common/packages.nix
··· 46 46 47 47 # DE stuff 48 48 adw-gtk3 49 + cliphist 49 50 grub2 50 51 jq 51 52 ly ··· 60 61 waybar 61 62 waybar-mpris 62 63 waypaper 63 - wl-clipboard-rs 64 + wl-clipboard 64 65 wlogout 65 66 wofi 66 67 xdg-desktop-portal-wlr ··· 81 82 82 83 # network :3 83 84 openvpn 85 + protonvpn-gui 84 86 tailscale 87 + wireguard-tools 85 88 ]; 86 89 87 90 xdg.portal.wlr.enable = true; ··· 117 120 118 121 # Nix but looks like linux 119 122 nix-ld.enable = true; 120 - 123 + 121 124 # My terminal uwu 122 125 zsh.enable = true; 123 126