refactor: add wayland clipboard module

This commit is contained in:
2026-04-10 12:12:44 +02:00
committed by hektor
parent db5e8855d2
commit 6b43660491
4 changed files with 9 additions and 4 deletions

View File

@@ -27,8 +27,6 @@ alias ipa="ip -brief address"
alias ipl="ip -brief link" alias ipl="ip -brief link"
alias ipr="ip route" alias ipr="ip route"
alias clip="xclip -sel clip"
alias df="df -kTh" alias df="df -kTh"
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
wl-clipboard
];
}

View File

@@ -2,6 +2,7 @@
{ {
imports = [ imports = [
../../clipboard
../../fuzzel ../../fuzzel
../../mako ../../mako
../../shikane ../../shikane
@@ -12,7 +13,6 @@
file.".config/niri/config.kdl".source = ./config.kdl; file.".config/niri/config.kdl".source = ./config.kdl;
packages = with pkgs; [ packages = with pkgs; [
brightnessctl brightnessctl
wl-clipboard
wlsunset wlsunset
]; ];
}; };

View File

@@ -11,9 +11,9 @@
config = lib.mkIf config.tailscale.enable { config = lib.mkIf config.tailscale.enable {
services.tailscale = { services.tailscale = {
enable = true; enable = true;
openFirewall = true;
extraSetFlags = [ "--netfilter-mode=nodivert" ]; extraSetFlags = [ "--netfilter-mode=nodivert" ];
extraDaemonFlags = [ "--no-logs-no-support" ]; extraDaemonFlags = [ "--no-logs-no-support" ];
openFirewall = false;
}; };
}; };
} }