48 lines
854 B
Nix
48 lines
854 B
Nix
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
../../users/simon
|
|
];
|
|
|
|
sbruder = {
|
|
games = {
|
|
enable = true;
|
|
performanceIndex = 8;
|
|
};
|
|
gui.enable = true;
|
|
media-proxy.enable = true;
|
|
podman.enable = true;
|
|
restic.system = {
|
|
enable = true;
|
|
qos = true;
|
|
extraPaths = [
|
|
"/data"
|
|
];
|
|
};
|
|
unfree.allowSoftware = true;
|
|
wireguard.home.enable = true;
|
|
};
|
|
|
|
services.tor = {
|
|
enable = true;
|
|
client.enable = true;
|
|
};
|
|
services.privoxy = {
|
|
enable = true;
|
|
enableTor = true;
|
|
};
|
|
|
|
networking.hostName = "hitagi";
|
|
|
|
system.stateVersion = "20.03";
|
|
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
}
|