Add some 3D CAD related packages.

This commit is contained in:
Gabriel Ebner 2019-05-14 15:50:46 +02:00
parent 1b73fb1e87
commit 1359eac9b8
2 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,15 @@
{ config, pkgs, ... }:
let curaWorkaround = with pkgs; stdenv.mkDerivation {
name = "cura-without-openmp-${cura.version}";
# https://github.com/NixOS/nixpkgs/issues/59901
buildPhase = ''
makeWrapper ${cura}/bin/cura $out/bin/cura --set OMP_NUM_THREADS 1
'';
phases = [ "buildPhase" ];
nativeBuildInputs = [ makeWrapper ];
}; in
{
environment.systemPackages = with pkgs.haskellPackages; with pkgs; [
idea-community-eap
@ -24,6 +34,13 @@
# virtmanager
curaWorkaround
openscad
# freecad
meshlab
yarn
gnome3.baobab
rustup

View File

@ -65,7 +65,7 @@
enable = true;
storageDriver = "overlay2";
};
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" "video" ];
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" "video" "input" ];
virtualisation.libvirtd.enable = true;