This commit is contained in:
mjallen18
2025-05-08 15:37:21 -05:00
parent 6a720e6bb6
commit b1c1d6f04c
5 changed files with 109 additions and 38 deletions

View File

@@ -35,6 +35,7 @@ let
memtest86-efi
memtest86plus
nano
occt
onlyoffice-bin
os-prober
nil
@@ -88,6 +89,26 @@ let
voltage_offset: 0
power_states: {}
'';
occt = pkgs.stdenv.mkDerivation {
pname = "occt";
version = "14.0.10";
src = pkgs.fetchurl {
url = "https://www.ocbase.com/download-bin/edition:Personal/os:Linux";
sha256 = "sha256-UKObmwQpYMuG6D6jb5Wrs0FO/sxijUlHqCezG45KqJc=";
};
dontUnpack = true;
buildPhase = ''
mkdir -p $out/bin
cp $src $out/bin/OCCT
chmod +x $out/bin/OCCT
'';
installPhase = "true";
};
in
{
imports = [
@@ -101,6 +122,7 @@ in
./users.nix
../default.nix
../../share/amd
# ../../modules/desktop-environments/cosmic/specialisation.nix
];
# Environment configuration
@@ -141,6 +163,23 @@ in
# Programs configuration
programs = {
nix-ld = {
enable = true;
libraries = with pkgs; [
bash
glib
libgcc
icu
zlib
fontconfig
xorg.libX11
xorg.libICE
xorg.libSM
xorg.libXcursor
xorg.libXrandr
xorg.libXi
];
};
gamemode.enable = true;
coolercontrol.enable = true;
kdeconnect = {