diff --git a/configuration/default.nix b/configuration/default.nix index ff97436..f5d68fb 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -7,6 +7,7 @@ }: { imports = [ "${modulesPath}/profiles/headless.nix" + "${modulesPath}/profiles/minimal.nix" (import ../modules) ./services/conduit.nix @@ -135,5 +136,8 @@ ]; }; + # Remove some unneeded packages + environment.defaultPackages = []; + system.stateVersion = "20.09"; } diff --git a/configuration/services/starbound.nix b/configuration/services/starbound.nix index 5dc0961..419f0e4 100644 --- a/configuration/services/starbound.nix +++ b/configuration/services/starbound.nix @@ -5,6 +5,9 @@ }: let inherit (lib) concatStringsSep; in { + # Sadly, steam-run requires some X libs + environment.noXlibs = false; + systemd.services.starbound = { description = "Starbound"; after = ["network.target"];