init galaxy host
This commit is contained in:
parent
1cd8c2822d
commit
92959cf11a
@ -82,6 +82,7 @@
|
|||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
workstation = createConfig "workstation" inputs.nixpkgs;
|
workstation = createConfig "workstation" inputs.nixpkgs;
|
||||||
|
galaxy = createConfig "galaxy" inputs.nixpkgs;
|
||||||
miniserver = createConfig "miniserver" inputs.nixpkgs-small;
|
miniserver = createConfig "miniserver" inputs.nixpkgs-small;
|
||||||
server = createConfig "server" inputs.nixpkgs-small;
|
server = createConfig "server" inputs.nixpkgs-small;
|
||||||
};
|
};
|
||||||
|
|||||||
38
hosts/galaxy/configuration.nix
Normal file
38
hosts/galaxy/configuration.nix
Normal 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
24
hosts/galaxy/toggles.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user