hosts: move additional config to misc/

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-24 23:03:30 +03:00
parent f213931b6f
commit 7bc1d7e36a
12 changed files with 55 additions and 3 deletions

View File

@ -9,7 +9,7 @@
self.nixosModules.desktop self.nixosModules.desktop
self.nixosModules.system self.nixosModules.system
./disko ./disko
# ./minecraft.nix ./misc
]; ];
networking = { networking = {

View File

@ -0,0 +1,5 @@
{
imports = [
# ./minecraft.nix
];
}

View File

@ -5,6 +5,7 @@
self.nixosModules.system self.nixosModules.system
./disko ./disko
./hardware ./hardware
./misc
]; ];
networking = { networking = {

View File

@ -0,0 +1,5 @@
{
imports = [
./distributed-build.nix
];
}

View File

@ -9,6 +9,7 @@
self.nixosModules.system self.nixosModules.system
./disko ./disko
./hardware ./hardware
./misc
]; ];
networking = { networking = {

View File

@ -0,0 +1,5 @@
{
imports = [
./distributed-build.nix
];
}

View File

@ -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";
}; };
}; };

View File

@ -0,0 +1,5 @@
{
imports = [
./distributed-build.nix
];
}

View 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";
}
];
};
}