updates nixos config
- adds applications to david user - disables wireguard - enables tor
This commit is contained in:
+13
-10
@@ -12,13 +12,18 @@
|
|||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox
|
cura
|
||||||
thunderbird
|
dig
|
||||||
sparrow
|
|
||||||
freecad
|
|
||||||
element-desktop
|
element-desktop
|
||||||
|
firefox
|
||||||
|
freecad
|
||||||
|
nmap
|
||||||
|
sparrow
|
||||||
|
sublime-music
|
||||||
|
thunderbird
|
||||||
timeshift
|
timeshift
|
||||||
transmission-qt
|
tor-browser-bundle-bin
|
||||||
|
transmission-gtk
|
||||||
unison
|
unison
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -59,6 +64,7 @@
|
|||||||
git
|
git
|
||||||
htop
|
htop
|
||||||
lsof
|
lsof
|
||||||
|
mullvad-vpn
|
||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
vim
|
vim
|
||||||
@@ -107,12 +113,9 @@
|
|||||||
};
|
};
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
transmission = {
|
tor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "transmission";
|
client.enable = true;
|
||||||
group = "transmission";
|
|
||||||
openFirewall = true;
|
|
||||||
openRPCPort = true;
|
|
||||||
};
|
};
|
||||||
udev.packages = with pkgs; [
|
udev.packages = with pkgs; [
|
||||||
gnome.gnome-settings-daemon
|
gnome.gnome-settings-daemon
|
||||||
|
|||||||
+13
-17
@@ -10,23 +10,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ ];
|
networking.firewall.allowedTCPPorts = [ ];
|
||||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||||
|
|
||||||
networking.wg-quick.interfaces = {
|
security.pki.certificateFiles = [ "/root/ominous-law.local.crt" ];
|
||||||
wg0 = {
|
|
||||||
address = [ "10.8.0.4/24" ];
|
|
||||||
dns = [ "10.0.10.20" "10.0.10.1" ];
|
|
||||||
privateKeyFile = "/root/wg-home.privkey";
|
|
||||||
|
|
||||||
peers = [
|
|
||||||
{
|
|
||||||
publicKey = "KRI5BtJHsU9RWvf1syJ8zWkKtH9RMg/R/v88j1IH6iE=";
|
|
||||||
presharedKeyFile = "/root/wg-preshared.key";
|
|
||||||
allowedIPs = [ "0.0.0.0/0" ];
|
|
||||||
endpoint = "vpn.dvdt.dev:51820";
|
|
||||||
persistentKeepalive = 25;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
@@ -40,6 +24,18 @@
|
|||||||
|
|
||||||
boot.initrd.secrets."/crypto_keyfile.bin" = null;
|
boot.initrd.secrets."/crypto_keyfile.bin" = null;
|
||||||
|
|
||||||
|
services.avahi = {
|
||||||
|
nssmdns = true;
|
||||||
|
enable = true;
|
||||||
|
ipv4 = true;
|
||||||
|
ipv6 = true;
|
||||||
|
publish = {
|
||||||
|
enable = true;
|
||||||
|
addresses = true;
|
||||||
|
workstation = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.power-profiles-daemon.enable = false;
|
services.power-profiles-daemon.enable = false;
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
|
|||||||
Reference in New Issue
Block a user