33 lines
842 B
Nix
33 lines
842 B
Nix
|
{ globalData, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
./hardware-configuration
|
||
|
./configs
|
||
|
./users
|
||
|
];
|
||
|
|
||
|
################################################################################
|
||
|
# Programs
|
||
|
################################################################################
|
||
|
local.programs.browsers.tor-browser = {
|
||
|
enable = true;
|
||
|
container = {
|
||
|
enable = true;
|
||
|
externalInterface = "wg0";
|
||
|
sshAuthorizedKeys = globalData.publicKeys.users.jan;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
################################################################################
|
||
|
# Services
|
||
|
################################################################################
|
||
|
local.services.i2pd.enable = true;
|
||
|
|
||
|
local.services.octoprint.enable = true;
|
||
|
|
||
|
virtualisation.docker.enable = true;
|
||
|
# Torrent client
|
||
|
services.transmission.enable = true;
|
||
|
}
|