This commit is contained in:
Chaos 2022-11-03 07:57:35 +00:00
parent f2b62b145c
commit dd4cd43c3a
No known key found for this signature in database
3 changed files with 11 additions and 21 deletions

View file

@ -96,11 +96,11 @@
"utils": "utils_3"
},
"locked": {
"lastModified": 1667386877,
"narHash": "sha256-CP8CbIiykhevS9KsFO5kKP7CfrnGjORhvkHV6PMyh90=",
"lastModified": 1667410913,
"narHash": "sha256-5+S65dpXaIyMDeoPy823BzNH5HYY1wvZ6G+rzTnO8kY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "916811c8f9ef37beb7705150d76cc88ce79466fd",
"rev": "f520832a47dbc24d1e2c4e4b9a3dbe910777d1a2",
"type": "github"
},
"original": {
@ -138,11 +138,11 @@
]
},
"locked": {
"lastModified": 1667294277,
"narHash": "sha256-YhVGYUpPZNpJZ8z3Sq9aT6n1/B8vKtfRfwaCtbsosxk=",
"lastModified": 1667419884,
"narHash": "sha256-oLNw87ZI5NxTMlNQBv1wG2N27CUzo9admaFlnmavpiY=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "b7177030643374e698c29e993c2808efa7b85aaf",
"rev": "cfc0125eafadc9569d3d6a16ee928375b77e3100",
"type": "github"
},
"original": {

View file

@ -82,7 +82,6 @@ in {
home.apps.pavucontrol
home.apps.mullvad
home.apps.aria2
home.apps.aegisub
home.apps.rclone
home.apps.restic
@ -149,21 +148,9 @@ in {
builders-use-substitutes = true
'';
nix.buildMachines = [{
hostName = "hetzner-vm.servers.genderfucked.monster";
system = "x86_64-linux";
maxJobs = 12;
speedFactor = 2;
sshUser = "root";
sshKey = "/usb/ssh-keys/chaos.priv";
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}];
nix.distributedBuilds = false;
networking.hostName = "lappy";
time.timeZone = "Europe/London";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
services.fstrim.enable = true;

View file

@ -18,8 +18,9 @@ in {
];
systemd.tmpfiles.rules = [
"d /storage - root root"
"d /caches - storage storage"
"d /caches/main_webdav_serve - storage storage"
];
users.groups.storage = { };
@ -81,6 +82,8 @@ in {
"--addr=:${toString ports.rclone_serve_webdav_main}"
"--htpasswd=${secrets-db.webdav_main_htpasswd.path}"
"--baseurl=/main/"
"--cache-dir=/caches/main_webdav_serve"
"--vfs-cache-mode=full"
];
inherit serviceConfig;
}