add nixbuild config
This commit is contained in:
parent
3755356391
commit
259b830c5d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
result
|
result
|
||||||
.direnv
|
.direnv
|
||||||
doc/index.html
|
doc/index.html
|
||||||
|
keys
|
||||||
|
|
||||||
# Result of bud commands
|
# Result of bud commands
|
||||||
vm
|
vm
|
||||||
|
@ -47,6 +47,7 @@ in {
|
|||||||
common-gpu-amd
|
common-gpu-amd
|
||||||
common-cpu-amd
|
common-cpu-amd
|
||||||
../../modules/network/dns
|
../../modules/network/dns
|
||||||
|
../../modules/develop/nixbuild
|
||||||
../../users/root
|
../../users/root
|
||||||
../../users/patriot
|
../../users/patriot
|
||||||
];
|
];
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
keep-derivations = true
|
keep-derivations = true
|
||||||
fallback = true
|
fallback = true
|
||||||
extra-experimental-features = nix-command flakes
|
extra-experimental-features = nix-command flakes
|
||||||
|
builders-use-substitutes = true
|
||||||
'';
|
'';
|
||||||
useSandbox = true;
|
useSandbox = true;
|
||||||
allowedUsers = ["@wheel"];
|
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
|
noto-fonts-cjk
|
||||||
font-awesome
|
font-awesome
|
||||||
dejavu_fonts
|
dejavu_fonts
|
||||||
(nerdfonts.override {fonts = ["Monoid"];})
|
#(nerdfonts.override {fonts = [font.name];})
|
||||||
# Programs
|
# Programs
|
||||||
wezterm
|
wezterm
|
||||||
cargo-outdated
|
cargo-outdated
|
||||||
@ -151,12 +151,9 @@ in {
|
|||||||
rust-analyzer
|
rust-analyzer
|
||||||
(
|
(
|
||||||
lib.hiPrio
|
lib.hiPrio
|
||||||
(
|
(steam.override {
|
||||||
steam.override
|
|
||||||
{
|
|
||||||
extraLibraries = pkgs: with pkgs; [mimalloc pipewire vulkan-loader wayland wayland-protocols];
|
extraLibraries = pkgs: with pkgs; [mimalloc pipewire vulkan-loader wayland wayland-protocols];
|
||||||
}
|
})
|
||||||
)
|
|
||||||
)
|
)
|
||||||
/*
|
/*
|
||||||
(multimc.overrideAttrs (old: {
|
(multimc.overrideAttrs (old: {
|
||||||
@ -164,7 +161,6 @@ in {
|
|||||||
}))
|
}))
|
||||||
*/
|
*/
|
||||||
standardnotes
|
standardnotes
|
||||||
#discord-system-electron
|
|
||||||
gh
|
gh
|
||||||
cloudflared
|
cloudflared
|
||||||
ripcord
|
ripcord
|
||||||
|
Loading…
Reference in New Issue
Block a user