From 03465ab50561a89e1a29aa978b977431788daf94 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 30 Dec 2024 13:21:26 -0600 Subject: [PATCH] lio config in new style --- components/hm/obs.nix | 4 + components/hm/slicer.nix | 33 + components/nix/steam.nix | 4 + hosts/lio/configuration.nix | 26 - hosts/lio/flake.lock | 1530 +++++++++++++++++++++++++++++++ hosts/lio/flake.nix | 143 +++ hosts/oren/flake.nix | 5 +- hosts_old/lio/configuration.nix | 24 +- modules/common/flake.nix | 10 + 9 files changed, 1738 insertions(+), 41 deletions(-) create mode 100644 components/hm/obs.nix create mode 100644 components/hm/slicer.nix create mode 100644 components/nix/steam.nix create mode 100644 hosts/lio/flake.lock diff --git a/components/hm/obs.nix b/components/hm/obs.nix new file mode 100644 index 0000000..68d6d68 --- /dev/null +++ b/components/hm/obs.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + programs.obs-studio.enable = true; +} diff --git a/components/hm/slicer.nix b/components/hm/slicer.nix new file mode 100644 index 0000000..4361d5a --- /dev/null +++ b/components/hm/slicer.nix @@ -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 <