yeah one should write meaningful commit messages btw
This commit is contained in:
parent
f92fa3f622
commit
1e40451574
6 changed files with 44 additions and 6 deletions
|
@ -23,6 +23,15 @@
|
|||
hexchat
|
||||
steam
|
||||
keepassxc
|
||||
syncthing
|
||||
kdeconnect
|
||||
htop
|
||||
nmap
|
||||
tmux
|
||||
hyfetch
|
||||
stremio
|
||||
spotify
|
||||
godot_4
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
2
justfile
2
justfile
|
@ -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
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./sound.nix
|
||||
./syncthing.nix
|
||||
./firewall.nix
|
||||
];
|
||||
}
|
17
modules/desktop/firewall.nix
Normal file
17
modules/desktop/firewall.nix
Normal 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
|
||||
];
|
||||
};
|
||||
|
||||
}
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
sound.enable = true;
|
||||
|
|
14
modules/desktop/syncthing.nix
Normal file
14
modules/desktop/syncthing.nix
Normal 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";
|
||||
};
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue