feat: Added discord and slack to linux
This commit is contained in:
@@ -27,5 +27,7 @@ lib.optionalAttrs device.hasGui {
|
||||
./wezterm.nix
|
||||
./zathura.nix
|
||||
./zed.nix
|
||||
./discord.nix
|
||||
./slack.nix
|
||||
];
|
||||
}
|
||||
|
||||
10
home/apps/discord.nix
Normal file
10
home/apps/discord.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||
pkgs.discord
|
||||
pkgs.webcord
|
||||
];
|
||||
}
|
||||
9
home/apps/slack.nix
Normal file
9
home/apps/slack.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||
pkgs.slack
|
||||
];
|
||||
}
|
||||
@@ -21,8 +21,6 @@
|
||||
};
|
||||
home.packages = with pkgs;
|
||||
lib.optionals pkgs.stdenv.isLinux [
|
||||
discord
|
||||
jdk
|
||||
mullvad-closest
|
||||
mullvad-vpn
|
||||
nautilus
|
||||
|
||||
@@ -102,8 +102,11 @@
|
||||
];
|
||||
boot.extraModulePackages = [];
|
||||
# services.udev.packages = [pkgs.yubikey-personalization pkgs.yubikey-personalization-gui pkgs.via];
|
||||
services.udev.packages = [pkgs.via];
|
||||
services.yubikey-agent.enable = true;
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||
|
||||
# services.udev.packages = [pkgs.via];
|
||||
# services.yubikey-agent.enable = true;
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
||||
'';
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
{...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = true;
|
||||
useRoutingFeatures = "both";
|
||||
extraUpFlags = ["--advertise-routes=192.168.0.0/24"];
|
||||
};
|
||||
networkd-dispatcher = {
|
||||
enable = true;
|
||||
rules."50-tailscale" = {
|
||||
onState = ["routable"];
|
||||
script = ''
|
||||
${lib.getExe pkgs.ethtool} -K en01 rx-udp-gro-forwarding on rg-xgro-list off
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user