misc changes

feat/kile-v2
Ricard Illa 2022-01-31 13:06:18 +01:00
parent 2062fbe024
commit c2c078dbab
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
3 changed files with 30 additions and 13 deletions

View File

@ -18,18 +18,18 @@ in {
home-manager.users.rilla = import home/capibara.nix; home-manager.users.rilla = import home/capibara.nix;
fileSystems = { #fileSystems = {
"/home/rilla/Music" = { # "/home/rilla/Music" = {
device = "narwhal:/music"; # device = "narwhal:/music";
fsType = "nfs"; # fsType = "nfs";
options = [ # options = [
"nfsvers=4" # "nfsvers=4"
"noauto" # "noauto"
"x-systemd.automount" # "x-systemd.automount"
"x-systemd.idle-timeout=1min" # "x-systemd.idle-timeout=1min"
]; # ];
}; # };
}; #};
environment.variables.NIXOS_CONFIG = environment.variables.NIXOS_CONFIG =
"/home/rilla/configs/nix-config/capibara.nix"; "/home/rilla/configs/nix-config/capibara.nix";

View File

@ -146,7 +146,10 @@ in {
services.syncthing.enable = true; services.syncthing.enable = true;
services.kdeconnect.enable = true; services.kdeconnect = {
enable = true;
indicator = true;
};
programs.bat = { programs.bat = {
enable = true; enable = true;
@ -172,6 +175,8 @@ in {
startInBackground = true; startInBackground = true;
}; };
services.network-manager-applet.enable = true;
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;
defaultApplications = { defaultApplications = {

View File

@ -28,8 +28,20 @@ in {
interfaces = { }; interfaces = { };
firewall = { firewall = {
# 51820 is used by wireguard
allowedUDPPorts = [ 51820 ]; allowedUDPPorts = [ 51820 ];
# 1714 - 1764 is used by kdeconnect
allowedTCPPortRanges = [{
from = 1714;
to = 1764;
}];
allowedUDPPortRanges = [{
from = 1714;
to = 1764;
}];
# if packets are still dropped, they will show up in dmesg # if packets are still dropped, they will show up in dmesg
logReversePathDrops = true; logReversePathDrops = true;
# wireguard trips rpfilter up # wireguard trips rpfilter up