nixos-config/machines/sayuri/configuration.nix

67 lines
1.2 KiB
Nix
Raw Normal View History

{ 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 = {
2021-01-07 18:29:18 +01:00
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;
2020-12-05 13:48:06 +01:00
};
2021-01-20 16:31:59 +01:00
virtualisation.libvirtd.enable = true;
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
2020-10-17 23:18:22 +02:00
networking.hostName = "sayuri";
system.stateVersion = "20.03";
specialisation = {
foldingathome.configuration = {
services.foldingathome = {
enable = true;
user = "sbruder";
};
};
intel-sucks.configuration = {
# https://make-linux-fast-again.com/
boot.kernelParams = [
"l1tf=off"
"mds=off"
"mitigations=off"
"no_stf_barrier"
"noibpb"
"noibrs"
"nopti"
"nospec_store_bypass_disable"
"nospectre_v1"
"nospectre_v2"
"tsx=on"
"tsx_async_abort=off"
];
sbruder.gui.enable = lib.mkForce false;
};
};
2020-10-17 23:18:22 +02:00
}