beep
This commit is contained in:
parent
f2b62b145c
commit
dd4cd43c3a
12
flake.lock
12
flake.lock
|
@ -96,11 +96,11 @@
|
||||||
"utils": "utils_3"
|
"utils": "utils_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1667386877,
|
"lastModified": 1667410913,
|
||||||
"narHash": "sha256-CP8CbIiykhevS9KsFO5kKP7CfrnGjORhvkHV6PMyh90=",
|
"narHash": "sha256-5+S65dpXaIyMDeoPy823BzNH5HYY1wvZ6G+rzTnO8kY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "916811c8f9ef37beb7705150d76cc88ce79466fd",
|
"rev": "f520832a47dbc24d1e2c4e4b9a3dbe910777d1a2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -138,11 +138,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1667294277,
|
"lastModified": 1667419884,
|
||||||
"narHash": "sha256-YhVGYUpPZNpJZ8z3Sq9aT6n1/B8vKtfRfwaCtbsosxk=",
|
"narHash": "sha256-oLNw87ZI5NxTMlNQBv1wG2N27CUzo9admaFlnmavpiY=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "b7177030643374e698c29e993c2808efa7b85aaf",
|
"rev": "cfc0125eafadc9569d3d6a16ee928375b77e3100",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -82,7 +82,6 @@ in {
|
||||||
home.apps.pavucontrol
|
home.apps.pavucontrol
|
||||||
home.apps.mullvad
|
home.apps.mullvad
|
||||||
home.apps.aria2
|
home.apps.aria2
|
||||||
home.apps.aegisub
|
|
||||||
home.apps.rclone
|
home.apps.rclone
|
||||||
home.apps.restic
|
home.apps.restic
|
||||||
|
|
||||||
|
@ -149,21 +148,9 @@ in {
|
||||||
builders-use-substitutes = true
|
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";
|
networking.hostName = "lappy";
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
|
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,9 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
|
||||||
"d /storage - root root"
|
"d /storage - root root"
|
||||||
|
"d /caches - storage storage"
|
||||||
|
"d /caches/main_webdav_serve - storage storage"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.groups.storage = { };
|
users.groups.storage = { };
|
||||||
|
@ -81,6 +82,8 @@ in {
|
||||||
"--addr=:${toString ports.rclone_serve_webdav_main}"
|
"--addr=:${toString ports.rclone_serve_webdav_main}"
|
||||||
"--htpasswd=${secrets-db.webdav_main_htpasswd.path}"
|
"--htpasswd=${secrets-db.webdav_main_htpasswd.path}"
|
||||||
"--baseurl=/main/"
|
"--baseurl=/main/"
|
||||||
|
"--cache-dir=/caches/main_webdav_serve"
|
||||||
|
"--vfs-cache-mode=full"
|
||||||
];
|
];
|
||||||
inherit serviceConfig;
|
inherit serviceConfig;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue