aboutsummaryrefslogtreecommitdiff
path: root/profiles/nix/remote-builder.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 14:20:57 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 14:20:57 -0800
commit9fa94af7140afb7c9fcced8aa1fb20abb81c5955 (patch)
tree74a2b33354d3cd15aa58fd7be7d33c8cc550c463 /profiles/nix/remote-builder.nix
parentcleanup nixos related configurations (diff)
downloadinfra-9fa94af7140afb7c9fcced8aa1fb20abb81c5955.tar.gz
add helpers to build remotely with nixos
Diffstat (limited to 'profiles/nix/remote-builder.nix')
-rw-r--r--profiles/nix/remote-builder.nix32
1 files changed, 0 insertions, 32 deletions
diff --git a/profiles/nix/remote-builder.nix b/profiles/nix/remote-builder.nix
deleted file mode 100644
index 50d3e84..0000000
--- a/profiles/nix/remote-builder.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ config, ... }:
-{
- nix.buildMachines = [
- {
- hostName = "builder";
- sshUser = "builder";
-
- protocol = "ssh";
-
- sshKey = config.age.secrets.ssh-remote-builder.path;
-
- systems = [
- "x86_64-linux"
- ];
-
- maxJobs = 1;
-
- supportedFeatures = [
- "nixos-test"
- ];
- }
- ];
-
- nix.distributedBuilds = true;
-
- programs.ssh.extraConfig = ''
- Host builder
- User builder
- HostName vm-synology
- IdentityFile ${config.age.secrets.ssh-remote-builder.path}
- '';
-}