add nixbuild config
This commit is contained in:
parent
3755356391
commit
259b830c5d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
result
|
||||
.direnv
|
||||
doc/index.html
|
||||
keys
|
||||
|
||||
# Result of bud commands
|
||||
vm
|
||||
|
@ -47,6 +47,7 @@ in {
|
||||
common-gpu-amd
|
||||
common-cpu-amd
|
||||
../../modules/network/dns
|
||||
../../modules/develop/nixbuild
|
||||
../../users/root
|
||||
../../users/patriot
|
||||
];
|
||||
|
@ -15,6 +15,7 @@
|
||||
keep-derivations = true
|
||||
fallback = true
|
||||
extra-experimental-features = nix-command flakes
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
useSandbox = true;
|
||||
allowedUsers = ["@wheel"];
|
||||
|
26
modules/develop/nixbuild/default.nix
Normal file
26
modules/develop/nixbuild/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{...}: {
|
||||
programs.ssh.extraConfig = ''
|
||||
Host eu.nixbuild.net
|
||||
PubkeyAcceptedKeyTypes ssh-ed25519
|
||||
IdentityFile /etc/nixos/keys/nixbuild.key
|
||||
'';
|
||||
|
||||
programs.ssh.knownHosts = {
|
||||
nixbuild = {
|
||||
hostNames = ["eu.nixbuild.net"];
|
||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM";
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "eu.nixbuild.net";
|
||||
system = "x86_64-linux";
|
||||
maxJobs = 100;
|
||||
supportedFeatures = ["benchmark" "big-parallel"];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
@ -123,7 +123,7 @@ in {
|
||||
noto-fonts-cjk
|
||||
font-awesome
|
||||
dejavu_fonts
|
||||
(nerdfonts.override {fonts = ["Monoid"];})
|
||||
#(nerdfonts.override {fonts = [font.name];})
|
||||
# Programs
|
||||
wezterm
|
||||
cargo-outdated
|
||||
@ -151,12 +151,9 @@ in {
|
||||
rust-analyzer
|
||||
(
|
||||
lib.hiPrio
|
||||
(
|
||||
steam.override
|
||||
{
|
||||
extraLibraries = pkgs: with pkgs; [mimalloc pipewire vulkan-loader wayland wayland-protocols];
|
||||
}
|
||||
)
|
||||
(steam.override {
|
||||
extraLibraries = pkgs: with pkgs; [mimalloc pipewire vulkan-loader wayland wayland-protocols];
|
||||
})
|
||||
)
|
||||
/*
|
||||
(multimc.overrideAttrs (old: {
|
||||
@ -164,7 +161,6 @@ in {
|
||||
}))
|
||||
*/
|
||||
standardnotes
|
||||
#discord-system-electron
|
||||
gh
|
||||
cloudflared
|
||||
ripcord
|
||||
|
Loading…
Reference in New Issue
Block a user