nixos-config/machines/hitagi/configuration.nix

51 lines
912 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, lib, pkgs, ... }:
2020-10-17 23:18:22 +02:00
{
2020-12-05 16:05:26 +01:00
imports = [
./hardware-configuration.nix
../../modules
../../users/simon
];
2020-10-17 23:18:22 +02:00
2020-12-05 13:48:06 +01:00
sbruder = {
games = {
enable = true;
performanceIndex = 8;
};
gui.enable = true;
media-proxy.enable = true;
2024-06-26 13:55:02 +02:00
podman.enable = true;
2024-08-22 16:13:13 +02:00
restic = {
enable = true;
2024-08-22 16:13:13 +02:00
backups.system = {
enable = true;
qos = true;
extraPaths = [
"/data"
];
};
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
2020-12-05 13:48:06 +01:00
};
2020-12-31 12:55:20 +01:00
services.tor = {
enable = true;
client.enable = true;
};
services.privoxy = {
enable = true;
enableTor = true;
};
2020-12-31 12:55:20 +01:00
2022-12-30 19:52:58 +01:00
networking.hostName = "hitagi";
system.stateVersion = "20.03";
2023-10-22 14:11:02 +02:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2020-10-17 23:18:22 +02:00
}