1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/profiles/builder.nix

24 lines
970 B
Nix
Raw Permalink Normal View History

2024-04-29 15:22:48 +02:00
{ lib, pkgs, ... }: {
kyouma.deployment.auto-upgrade.cache = "daemon";
2024-07-22 00:01:49 +02:00
nix.settings = {
2024-09-05 14:46:07 +02:00
trusted-users = [ "nix-ssh" ];
2024-07-24 13:25:21 +02:00
#system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ lib.optionals pkgs.hostPlatform.isx86_64 [ "gccarch-x86-64-v3" ];
2024-07-22 00:01:49 +02:00
};
2024-04-29 15:22:48 +02:00
nix.extraOptions = ''
2024-08-03 11:24:06 +02:00
min-free = ${builtins.toString (16384 * 1024 * 1024)}
max-free = ${builtins.toString (32768 * 1024 * 1024)}
2024-10-23 12:50:16 +02:00
max-substitution-jobs = 30
2024-07-25 01:10:04 +02:00
max-silent-time = 14400
2024-04-29 15:22:48 +02:00
'';
2024-09-05 14:46:07 +02:00
nix.sshServe = {
enable = true;
write = true;
keys = [
2024-04-29 15:22:48 +02:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
2024-05-10 14:49:52 +02:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE/vCXM3IaxJP9v2Y+xcQrQD2IcffgdzqtWhpMjj9Xl5 hydra@seras"
2024-04-29 15:22:48 +02:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICT0dGyLUjxFnvqUmex+5xUGQ7D4yGHKo267JgApcq0k root@ryuuko"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDTwCSWYODyvTJxwB6Rahuy0j6s/YYwtQta8bjzG/We root@ryuuko-arch"
];
};
}