lio config in new style

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-30 13:21:26 -06:00
parent 230c1182e1
commit 03465ab505
9 changed files with 1738 additions and 41 deletions

4
components/hm/obs.nix Normal file
View file

@ -0,0 +1,4 @@
{ ... }:
{
programs.obs-studio.enable = true;
}

33
components/hm/slicer.nix Normal file
View file

@ -0,0 +1,33 @@
{ pkgs, ... }:
let
orca-slicer-fix = pkgs.stdenv.mkDerivation {
name = "orca-slicer";
buildInputs = [ pkgs.makeWrapper ];
unpackPhase = "true";
buildPhase = ''
mkdir -p $out/bin
makeWrapper ${pkgs.orca-slicer}/bin/orca-slicer $out/bin/orca-slicer \
--set WEBKIT_DISABLE_DMABUF_RENDERER 1
'';
installPhase = ''
mkdir -p $out/share/applications
cat > $out/share/applications/orca-slicer.desktop <<EOF
[Desktop Entry]
Name=Orca Slicer
Comment=3D printing slicer
Exec=$out/bin/orca-slicer
Icon=orca-slicer
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
EOF
'';
};
in
{
home.packages = with pkgs; [
prusa-slicer
orca-slicer-fix
];
}

4
components/nix/steam.nix Normal file
View file

@ -0,0 +1,4 @@
{ ... }:
{
programs.steam.enable = true;
}