refactor: add wayland clipboard module
This commit is contained in:
@@ -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
|
||||||
|
|||||||
7
home/modules/clipboard/default.nix
Normal file
7
home/modules/clipboard/default.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user