upd
This commit is contained in:
@@ -18,10 +18,26 @@
|
|||||||
neo = "nix run github:fred-drake/neovim#";
|
neo = "nix run github:fred-drake/neovim#";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Custom Applications
|
||||||
apps = pkgs:
|
apps = pkgs:
|
||||||
with pkgs; [
|
with pkgs; [
|
||||||
delfin
|
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;
|
touchpadSupport = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
allowUnfree,
|
allowUnfree,
|
||||||
|
buildMachines,
|
||||||
|
trustedUsers,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@@ -21,10 +21,19 @@
|
|||||||
nixpkgs.config.allowUnfree = allowUnfree;
|
nixpkgs.config.allowUnfree = allowUnfree;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
trusted-users = [
|
trusted-users = trustedUsers;
|
||||||
"lsoriano"
|
|
||||||
];
|
|
||||||
experimental-features = ["nix-command" "flakes"];
|
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";
|
system.stateVersion = "25.05";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user