diff --git a/flake.nix b/flake.nix index 01bd4af..2445e6a 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; diff --git a/hosts/galaxy/configuration.nix b/hosts/galaxy/configuration.nix new file mode 100644 index 0000000..ca80de4 --- /dev/null +++ b/hosts/galaxy/configuration.nix @@ -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) + # ]; + # }; +} diff --git a/hosts/galaxy/toggles.nix b/hosts/galaxy/toggles.nix new file mode 100644 index 0000000..f622c5d --- /dev/null +++ b/hosts/galaxy/toggles.nix @@ -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; + }; +}