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;
fileSystems = {
"/home/rilla/Music" = {
device = "narwhal:/music";
fsType = "nfs";
options = [
"nfsvers=4"
"noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=1min"
];
};
};
#fileSystems = {
# "/home/rilla/Music" = {
# device = "narwhal:/music";
# fsType = "nfs";
# options = [
# "nfsvers=4"
# "noauto"
# "x-systemd.automount"
# "x-systemd.idle-timeout=1min"
# ];
# };
#};
environment.variables.NIXOS_CONFIG =
"/home/rilla/configs/nix-config/capibara.nix";

View File

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

View File

@ -28,8 +28,20 @@ in {
interfaces = { };
firewall = {
# 51820 is used by wireguard
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
logReversePathDrops = true;
# wireguard trips rpfilter up