Skip to content

Commit

Permalink
feat: add python 3.10 to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Nov 8, 2023
1 parent 1ae4778 commit 0ab4c3b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion modules/server.nix
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 0ab4c3b

Please sign in to comment.