add obsidian notes, syncthing dependency

This commit is contained in:
Haak Saxberg 2020-06-16 22:28:05 -07:00
parent 77cce70b7e
commit 88af6eee7c
2 changed files with 79 additions and 12 deletions

View file

@ -52,8 +52,8 @@
cachix
firefox
inkscape
p7zip
plasma-browser-integration
unzip
vim
wget
xclip
@ -65,6 +65,21 @@
fonts.fonts = with pkgs; [ fira-code ];
# Open ports in the firewall.
networking.firewall = {
allowedTCPPorts = [
631 # CUPs port for printing
6881 # port for torrenting
];
allowedUDPPorts = [
631
6881
];
};
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
@ -75,18 +90,13 @@
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Open ports in the firewall.
networking.firewall = {
allowedTCPPorts = [
631 # CUPs port for printing
];
allowedUDPPorts = [
631
];
# Torrenting!
services.deluge = {
enable = true;
declarative = true;
authFile = /home/haak/dotfiles/secrets/deluge_auth;
openFirewall = true;
};
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Enable CUPS to print documents.
services.printing = {
enable = true;
@ -116,6 +126,13 @@
desktopManager.plasma5.enable = true;
};
services.syncthing = {
enable = true;
user = "haak";
dataDir = "/home/haak/synced";
configDir = "/home/haak/synced/.config/syncthing";
};
# Define a user account. Don't forget to set a password with passwd.
users.users.haak = {
isNormalUser = true;