hosts: move additional config to misc/
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
self.nixosModules.desktop
|
self.nixosModules.desktop
|
||||||
self.nixosModules.system
|
self.nixosModules.system
|
||||||
./disko
|
./disko
|
||||||
# ./minecraft.nix
|
./misc
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
5
hosts/dunamis/misc/default.nix
Normal file
5
hosts/dunamis/misc/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# ./minecraft.nix
|
||||||
|
];
|
||||||
|
}
|
@ -5,6 +5,7 @@
|
|||||||
self.nixosModules.system
|
self.nixosModules.system
|
||||||
./disko
|
./disko
|
||||||
./hardware
|
./hardware
|
||||||
|
./misc
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
5
hosts/eldrid/misc/default.nix
Normal file
5
hosts/eldrid/misc/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./distributed-build.nix
|
||||||
|
];
|
||||||
|
}
|
@ -9,6 +9,7 @@
|
|||||||
self.nixosModules.system
|
self.nixosModules.system
|
||||||
./disko
|
./disko
|
||||||
./hardware
|
./hardware
|
||||||
|
./misc
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
5
hosts/legion/misc/default.nix
Normal file
5
hosts/legion/misc/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./distributed-build.nix
|
||||||
|
];
|
||||||
|
}
|
@ -9,7 +9,7 @@
|
|||||||
self.nixosModules.config
|
self.nixosModules.config
|
||||||
./disko
|
./disko
|
||||||
./hardware
|
./hardware
|
||||||
./distributed-build.nix
|
./misc
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@ -38,7 +38,7 @@
|
|||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "nord";
|
theme = "rose-pine-moon";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
5
hosts/sarien/misc/default.nix
Normal file
5
hosts/sarien/misc/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./distributed-build.nix
|
||||||
|
];
|
||||||
|
}
|
30
hosts/sarien/misc/distributed-build.nix
Normal file
30
hosts/sarien/misc/distributed-build.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (builtins) readFile;
|
||||||
|
inherit (config.networking) hostName;
|
||||||
|
inherit (config.sops) secrets;
|
||||||
|
inherit (inputs) mysecrets;
|
||||||
|
pubHost = readFile "${mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
|
||||||
|
in {
|
||||||
|
nix = {
|
||||||
|
distributedBuilds = true;
|
||||||
|
buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "dunamis";
|
||||||
|
publicHostKey = pubHost;
|
||||||
|
sshKey = secrets."ssh-${hostName}-user".path;
|
||||||
|
sshUser = "nix-ssh";
|
||||||
|
supportedFeatures = [
|
||||||
|
"benchmark"
|
||||||
|
"big-parallel"
|
||||||
|
"kvm"
|
||||||
|
"nixos-test"
|
||||||
|
];
|
||||||
|
system = "x86_64-linux";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user