upd
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user