This commit is contained in:
biscuit
2025-06-06 07:40:20 -05:00
parent e6103c3153
commit 2b8d4a1dce
2 changed files with 30 additions and 5 deletions
+16
View File
@@ -18,10 +18,26 @@
neo = "nix run github:fred-drake/neovim#";
};
# Custom Applications
apps = pkgs:
with pkgs; [
delfin
];
trustedUsers = [
"lsoriano"
"@groups"
];
buildMachines = [
{
hostName = "192.168.68.81";
sshUser = "lsoriano";
sshKey = "~/.ssh/id_rsa";
system = "x86_64-linux";
supportedFeatures = ["big-parallel" "kvm" "nixos-test"];
}
];
touchpadSupport = false;
}
+14 -5
View File
@@ -1,8 +1,8 @@
{
config,
lib,
pkgs,
allowUnfree,
buildMachines,
trustedUsers,
...
}: {
imports = [
@@ -21,10 +21,19 @@
nixpkgs.config.allowUnfree = allowUnfree;
nix.settings = {
trusted-users = [
"lsoriano"
];
trusted-users = trustedUsers;
experimental-features = ["nix-command" "flakes"];
};
programs.ssh.extraConfig = ''
Host macair
User lsoriano
HostName 192.168.68.81
'';
nix.distributedBuilds = true;
nix.settings.builders-use-substitutes = true;
nix.buildMachines = buildMachines;
system.stateVersion = "25.05";
}