more sops + eldrid

This commit is contained in:
2025-03-02 20:53:08 +02:00
parent 0a710faa55
commit f14623365c
8 changed files with 63 additions and 13 deletions

View File

@ -2,6 +2,7 @@
{
pkgs,
inputs,
config,
...
}: {
imports = with inputs; [
@ -13,13 +14,29 @@
./programs.nix
./stylix.nix
./users.nix
./sops.nix
];
desktop = {
hyprland.enable = true;
};
nix.settings.experimental-features = ["nix-command" "flakes"];
nix = {
settings.experimental-features = ["nix-command" "flakes"];
distributedBuilds = true;
settings.builders-use-substitutes = true;
buildMachines = [
{
hostName = "dunamis";
sshUser = "remotebuild";
system = "x86_64-linux";
sshKey = config.sops.secrets."ssh-private-eldrid-rmbuild".path;
supportedFeatures = ["nixos-test" "big-parallel" "kvm" "benchmark"];
publicHostKey = builtins.readFile "${inputs.mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
}
];
};
system.stateVersion = "25.05";
time.timeZone = "Europe/Kyiv";