Adding X11 forwarding, new packages for the default python, and a swapfile

master
David Crompton 2025-02-21 19:34:53 -05:00
parent d7bd579aad
commit 65232cfed3
6 changed files with 39 additions and 2 deletions

View File

@ -39,6 +39,10 @@
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the X11 forwarding over ssh
programs.ssh.forwardX11 = true;
programs.ssh.setXAuthLocation = true;
# Enable KDE Plasma
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;

View File

@ -43,7 +43,10 @@
options = [ "defaults" "pquota" ];
};
swapDevices = [ ];
swapDevices = [ {
device = "/swapfile";
size = 125*1024;
} ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View File

@ -1,5 +1,6 @@
{ ... }: {
imports = [
./packages/ngilab.nix
./packages/office.nix
./packages/terminal.nix
./packages/python.nix

View File

@ -0,0 +1,5 @@
{ pkgs, ...}: {
environment.systemPackages = with pkgs; [
embree
];
}

View File

@ -46,6 +46,30 @@
# fetching neuromorphic data:
tonic
# Librairies to deal with mesh
#pymeshlab
trimesh
# dependencies trimesh
lxml # Parse XML documents.
networkx # Pure Python graph library
shapely # Bindings to GEOS for 2D spatial stuff
rtree # Query ND rectangles with a spatial tree
httpx # Do network queries in trimesh.exchange.load_remote
sympy # Evaluate symbolic algebra
xxhash # Quickly hash arrays, used for our cache checking, easy,
charset-normalizer # When we fail to decode text as UTF-8
colorlog # Printing logs with colors., easy,
pillow # Reading raster images for textures and render polygons into raster images., easy,
jsonschema # Validating our exports for formats like GLTF., easy,
pycollada # Parse dae files., easy,
meshio # Load additional mesh formats.
scikit-image # Used in voxel ops
#mapbox #earcut, Triangulate 2D polygons
psutil # Get current memory usage
#ruff # A static code analyzer and formatter
#manifold3d # A binding for the Manifold mesh boolean engine
#openctm # A binding for OpenCTM loaders enabling .ctm loading
# Machine learning toolkits:
tensorflow
tensorboard

View File

@ -5,7 +5,7 @@
homeSize = "50g";
homeProjectId = 120;
packages = with pkgs; [
vscode
];
};
}