This commit is contained in:
4DBug
2025-12-02 17:02:03 -06:00
parent c407583801
commit 96d227b7eb
16 changed files with 256 additions and 82 deletions

View File

@@ -6,14 +6,10 @@
"org.vinegarhq.Sober"
"org.vinegarhq.Vinegar"
{ flatpakref = "https://dl.flathub.org/repo/appstream/org.gimp.GIMP.flatpakref"; sha256 = "1xw8vwpgmyjf5xhh101gqffpwa8x41pysfdl3glx2xv7ydhpc3bj"; }
#"dev.qwery.AddWater"
#"io.github.Foldex.AdwSteamGtk"
#"com.jeffser.Alpaca"
"com.bambulab.BambuStudio"
#"org.gabmus.gfeeds"
#"com.bambulab.BambuStudio"
"org.gnome.Decibels"
"org.pipewire.Helvum"
#"io.github.giantpinkrobots.flatsweep"
"io.missioncenter.MissionCenter"
"net.codelogistics.clicker"
];
}

View File

@@ -12,11 +12,11 @@
allowUnfree = true;
#cudaSupport = true;
};
overlays = [
#(self: super: {
# plasticity = self.callPackage ./plasticity.nix { };
#})
(self: super: {
plasticity-beta = self.callPackage ./plasticity.nix { };
})
];
};
@@ -32,6 +32,10 @@
uninstallUnmanaged = true;
};
environment.sessionVariables = {
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
};
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["bug"];
@@ -40,6 +44,11 @@
virtualisation.spiceUSBRedirection.enable = true;
virtualisation.docker.enable = true;
programs.appimage.enable = true;
programs.appimage.binfmt = true;
programs = {
bash.shellAliases = {
fetch = "fastfetch --file ~/Pictures/Ansi/nix.ans";
@@ -62,6 +71,8 @@ ssh -R \"$\{name}:80:localhost:$\{port}\" tuns.sh'\'' _";
# pgs name directory
pgs = "bash -c '\''if [ \"$#\" -ne 2 ]; then echo \"Usage: pgs NAME DIRECTORY\"; exit 1; fi; rsync -rv \"$2\" pgs.sh:/\"$1\"'\'' _";
bambu = "env -u WAYLAND_DISPLAY XDG_SESSION_TYPE=x11 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 GBM_BACKEND=dri bambu-studio";
};
dconf.enable = lib.mkDefault true;
@@ -79,29 +90,71 @@ ssh -R \"$\{name}:80:localhost:$\{port}\" tuns.sh'\'' _";
enable = true;
libraries = with pkgs; [
gtk3
glib
libgbinder
pcre2
gtk4
libadwaita
lxc
dnsmasq
alsa-lib
libGL
libGLU
mesa
gcc
zlib
xorg.libX11
fontconfig
pcre2
xorg.libXext
#glib
#libgbinder
#pcre2
#gtk4
#libadwaita
#lxc
#dnsmasq
#alsa-lib
#libGL
#libGLU
mesa
#gcc
zlib
#xorg.libX11
#fontconfig
#pcre2
#xorg.libXext
#gcc
#xorg.libxcb
#pkgs.qt5.full pkgs.freetype pkgs.fontconfig
#pkgs.xorg.libX11 pkgs.xorg.libxcb pkgs.xorg.libXext
#pkgs.xorg.libXrender
cmake
clang
zulu
jdk
openjdk
mesa
libGL
libGLU
zlib
glfw
gtkmm4
pangomm_2_48
#glibmm_2_68
cairomm_1_16
libsigcxx30
gtk4
pango
gdk-pixbuf
cairo
harfbuzz
graphene
glib
vulkan-loader
glew
freeglut
gcc
xorg.libxcb
pkgs.qt5.full pkgs.freetype pkgs.fontconfig
pkgs.xorg.libX11 pkgs.xorg.libxcb pkgs.xorg.libXext
pkgs.xorg.libXrender
brotli
libpng
libunwind
jdk17_headless
libunwind
gcc
mesa
glew
glfw
zlib
];
};
};

View File

@@ -34,13 +34,13 @@
}:
stdenv.mkDerivation rec {
pname = "plasticity";
version = "25.2.0.beta.13";
version = "25.3.0.beta.3";
src = fetchurl {
#url = "https://github.com/nkallen/plasticity/releases/download/v${version}/Plasticity-${version}-1.x86_64.rpm";
#hash = "sha256:166f8hvgdgr5lpkff28ms5qb425b2w7ckskchsabr1nwq49f7y74";
url = "https://github.com/4DBug/plasticity/releases/download/${version}/plasticity-beta-${version}-1.x86_64-2.rpm";
hash = "sha256:0hqy7gw7fq49bvvpch5k5j5ax9y0z1a1wxm3jhg2w2dxlh79jrl5";
url = "https://github.com/4DBug/plasticity/releases/download/${version}/plasticity-beta-${version}-1.x86_64.rpm";
hash = "sha256:03a3q07knqi3bdipxkp2igqpd3ngbrdj1bw9cdbzkhihdllgmba4";
};
passthru.updateScript = ./update.sh;
@@ -117,6 +117,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
postInstall = ''
# Remove dangling symlinks created by the rpm
find $out -xtype l -delete
'';
preFixup = ''
gappsWrapperArgs+=(--add-flags "--use-gl=egl")
'';

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
@@ -25,28 +25,74 @@
nixd
nil
gtk3
gobject-introspection
#gtk3
#gobject-introspection
libadwaita
#libadwaita
appimage-run
#appimage-run
nimble
clang
gnumake
nim
pkg-config
mimalloc
#nimble
#clang
#gnumake
#nim
#pkg-config
#mimalloc
gnome-boxes
glib
libgbinder
pcre2
gtk4
libadwaita
lxc
dnsmasq
#glib
#libgbinder
#pcre2
#gtk4
#libadwaita
#lxc
#dnsmasq
#cmake
#clang
#zulu
jdk
openjdk
#mesa
#libGLU
zlib
glfw
#gtkmm4
#pangomm_2_48
#glibmm_2_68
#cairomm
#libsigcxx
#gtk4
#pango
#gdk-pixbuf
#cairo
#harfbuzz
#graphene
#glib
#vulkan-loader
glew
#freeglut
#gcc
#gparted
#polkit
#dxvk
#vkd3d
#wine
wine64
wineWow64Packages.full
#lug-helper
#inputs.nix-citizen.packages.${system}.star-citizen-git
#nix-citizen.packages.${system}.star-citizen
#nix-citizen.packages.${system}.wine-astral
docker
freerdp
appimage-run
gamemode
];
}

View File

@@ -1,10 +1,13 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> { config = config.nixpkgs.config or {}; };
in
{
users.users.bug.packages = with pkgs; [
# ide
vscode
zed-editor
#zed-editor
# languages
luau
@@ -30,6 +33,7 @@
pynput
python-uinput
mido
# ninja
# pybind11
@@ -85,12 +89,14 @@
numpy
scipy
imageio
evdev
]))
nodejs
# 3D
(blender.withPackages (ps: with ps; [
(unstable.blender.withPackages (ps: with ps; [
libGLU
gcc
zlib
@@ -103,7 +109,8 @@
glib
]))
#plasticity
plasticity
plasticity-beta
# video
# kdenlive
@@ -116,20 +123,18 @@
# music
nicotine-plus
furnace
#furnace
pulseaudio
# utilties
#mapscii
cloudflared
base16-schemes
#base16-schemes
ptyxis
rpi-imager
#rpi-imager
fastfetch
tree
gnome-tweaks
wine
wine64
#gnome-tweaks
xclicker
gh
scanmem
@@ -137,15 +142,25 @@
samrewritten
#testdisk
impression
bambu-studio
sushi
#bambu-studio
orca-slicer
#sushi
#lutris
resources
#discord
dissent
authenticator
eyedropper
#eyedropper
#turtle
#xonotic
buffer
steamtinkerlaunch
protonup-qt
obs-studio
prismlauncher
];
}