yeah one should write meaningful commit messages btw

This commit is contained in:
polygon 2024-03-16 19:28:54 +01:00
parent f92fa3f622
commit 1e40451574
6 changed files with 44 additions and 6 deletions

View file

@ -23,6 +23,15 @@
hexchat
steam
keepassxc
syncthing
kdeconnect
htop
nmap
tmux
hyfetch
stremio
spotify
godot_4
];
programs = {

View file

@ -1,7 +1,7 @@
upgrade: update build
test:
sudo nixos-rebuild test --flake . --impure
sudo nixos-rebuild test --flake . --impure --fast
build:
sudo nixos-rebuild switch --flake . --impure --fast

View file

@ -1,5 +1,7 @@
{
imports = [
./sound.nix
./syncthing.nix
./firewall.nix
];
}

View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
networking.firewall = {
enable = false;
allowedUDPPorts = [53];
allowedTCPPorts = [53 22 22067 22070];
allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
};
}

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}:
{ config, pkgs, ... }:
{
sound.enable = true;

View file

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
services.syncthing = {
enable = true;
relay.enable = true;
user = "polygon";
dataDir = "/home/polygon/syncthing";
configDir = "/home/polygon/.config/syncthing";
};
}