init galaxy host

This commit is contained in:
Danilo Reyes 2025-04-06 23:54:04 -06:00
parent 1cd8c2822d
commit 92959cf11a
3 changed files with 63 additions and 0 deletions

View File

@ -82,6 +82,7 @@
{
nixosConfigurations = {
workstation = createConfig "workstation" inputs.nixpkgs;
galaxy = createConfig "galaxy" inputs.nixpkgs;
miniserver = createConfig "miniserver" inputs.nixpkgs-small;
server = createConfig "server" inputs.nixpkgs-small;
};

View File

@ -0,0 +1,38 @@
{ ... }:
{
imports = [
../../base.nix
../../stylix.nix
];
my = import ./toggles.nix;
networking = {
hostName = "galaxy";
};
# nix = {
# settings = {
# cores = 3;
# max-jobs = 8;
# };
# buildMachines =
# let
# buildMachine = hostName: maxJobs: speedFactor: {
# inherit hostName maxJobs speedFactor;
# system = "x86_64-linux";
# sshUser = "nixremote";
# supportedFeatures = [
# "nixos-test"
# "benchmark"
# "big-parallel"
# "kvm"
# "gccarch-znver3"
# "gccarch-skylake"
# "gccarch-alderlake"
# ];
# };
# in
# [
# (buildMachine "workstation" 16 40)
# (buildMachine "server" 16 17)
# ];
# };
}

24
hosts/galaxy/toggles.nix Normal file
View File

@ -0,0 +1,24 @@
{
emacs.enable = true;
apps.dictionaries.enable = true;
services = {
network.enable = true;
wireguard.enable = true;
};
shell = {
tools.enable = true;
multimedia.enable = true;
};
dev = {
nix.enable = true;
python.enable = true;
sh.enable = true;
};
scripts = {
split-dir.enable = true;
download.enable = true;
stream-dl.enable = true;
ffmpreg.enable = true;
ffmpeg4discord.enable = true;
};
}