Simon Bruder
56b9c6c37f
Since wg-quick does not require the configuration file to include a private key and local addresses, they can be added after the execution of wg-quick. Fixes #32.
49 lines
820 B
Nix
49 lines
820 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
../../users/simon
|
|
];
|
|
|
|
sbruder = {
|
|
games.enable = true;
|
|
gui.enable = true;
|
|
media-proxy.enable = true;
|
|
mullvad.enable = true;
|
|
restic.system = {
|
|
enable = true;
|
|
extraPaths = [
|
|
"/data"
|
|
];
|
|
};
|
|
unfree.allowSoftware = true;
|
|
wireguard.home.enable = true;
|
|
};
|
|
|
|
virtualisation.libvirtd.enable = true;
|
|
|
|
services.tor = {
|
|
enable = true;
|
|
client.enable = true;
|
|
};
|
|
services.privoxy = {
|
|
enable = true;
|
|
enableTor = true;
|
|
};
|
|
|
|
networking.hostName = "sayuri";
|
|
|
|
system.stateVersion = "20.03";
|
|
|
|
specialisation = {
|
|
foldingathome.configuration = {
|
|
services.foldingathome = {
|
|
enable = true;
|
|
user = "sbruder";
|
|
};
|
|
};
|
|
};
|
|
}
|