From b3e8b0e85cf450386a4ff323b3ae079fbfbded2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Sun, 30 Oct 2022 17:43:52 +0000 Subject: [PATCH] default.nix: Turn on minimal profile --- configuration/default.nix | 4 ++++ configuration/services/starbound.nix | 3 +++ 2 files changed, 7 insertions(+) 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"];