From 0ab4c3b5781d8a26b52ec1ec1713009b3a54f5e8 Mon Sep 17 00:00:00 2001 From: yunfachi Date: Wed, 8 Nov 2023 17:08:06 +0300 Subject: [PATCH] feat: add python 3.10 to the server --- modules/server.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/server.nix b/modules/server.nix index 2fd3f1f..fc54417 100644 --- a/modules/server.nix +++ b/modules/server.nix @@ -1,9 +1,18 @@ -{lib, ...}: +{ + pkgs, + lib, + ... +}: with lib; { imports = [ ./core.nix ]; + # Sometimes we need to run Python as root. + environment.systemPackages = with pkgs; [ + python310 + ]; + # We don't need any of the X11 libraries on a server. environment.noXlibs = mkDefault true;