ok i'm too lazy to seperate allat

This commit is contained in:
krizej 2024-07-10 15:01:17 +02:00
parent c6c42d00dd
commit eb6bbf5962
6 changed files with 70 additions and 16 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: args @ { pkgs, ... }:
{ {
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
@ -6,6 +6,6 @@
"freeimage-unstable-2021-11-01" "freeimage-unstable-2021-11-01"
]; ];
nixpkgs.overlays = import ../pkgs pkgs; nixpkgs.overlays = import ../pkgs args;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
} }

View file

@ -42,5 +42,6 @@
}; };
}; };
environment.localBinInPath = true;
environment.systemPackages = [ pkgs.ntfs3g ]; environment.systemPackages = [ pkgs.ntfs3g ];
} }

View file

@ -1,15 +1,16 @@
pkgs: [ { pkgs, ... }: with pkgs; [
(final: prev: { (final: prev: {
winvista-cursors = pkgs.callPackage ./winvista-cursors.nix {}; winvista-cursors = callPackage ./winvista-cursors.nix {};
win7-cursors = pkgs.callPackage ./win7-cursors.nix {}; win7-cursors = callPackage ./win7-cursors.nix {};
winxp-cursors = pkgs.callPackage ./winxp-cursors.nix {}; winxp-cursors = callPackage ./winxp-cursors.nix {};
winxp-icons = pkgs.callPackage ./winxp-icons.nix {}; winxp-icons = callPackage ./winxp-icons.nix {};
oxylite-icon-theme = pkgs.callPackage ./oxylite-icon-theme.nix {}; oxylite-icon-theme = callPackage ./oxylite-icon-theme.nix {};
e17gtk-revolved = pkgs.callPackage ./e17gtk-revolved.nix {}; e17gtk-revolved = callPackage ./e17gtk-revolved.nix {};
darkcold-gtk-theme = pkgs.callPackage ./darkcold-gtk-theme.nix {}; darkcold-gtk-theme = callPackage ./darkcold-gtk-theme.nix {};
arc-mono-gtk-theme = pkgs.callPackage ./arc-mono-gtk-theme.nix {}; arc-mono-gtk-theme = callPackage ./arc-mono-gtk-theme.nix {};
vim-darcula-theme = pkgs.callPackage ./vim-darcula-theme.nix {}; vim-darcula-theme = callPackage ./vim-darcula-theme.nix {};
sddm-i3-theme = pkgs.callPackage ./sddm-i3-theme.nix {}; sddm-i3-theme = callPackage ./sddm-i3-theme.nix {};
ericw-tools-latest = callPackage ./ericw-tools-latest.nix {};
i3status = prev.i3status.overrideAttrs (_: { patches = [ ../files/i3status.patch ]; }); i3status = prev.i3status.overrideAttrs (_: { patches = [ ../files/i3status.patch ]; });
}) })
] ]

View file

@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchzip,
autoPatchelfHook,
qt5,
tbb,
...
}:
stdenv.mkDerivation rec {
pname = "ericw-tools-latest";
version = "2.0.0-alpha8";
src = fetchzip {
url = "https://github.com/ericwa/ericw-tools/releases/download/2.0.0-alpha8/ericw-tools-2.0.0-alpha8-Linux.zip";
hash = "sha256-F1DyyWNeWAiVEk8Bv1ZFs1TuYyfkwCc5jd+ulA+qRhA=";
stripRoot = false;
};
nativeBuildInputs = [
qt5.wrapQtAppsHook
autoPatchelfHook
];
buildInputs = [
qt5.qtbase
stdenv.cc.cc
tbb
];
installPhase = ''
runHook preInstall
for lib in libembree3.so.3 libtbb.so.12; do
install -m755 -D $lib $out/lib/$lib
done
for tool in bspinfo lightpreview qbsp vis maputil light bsputil; do
install -m755 -D $tool $out/bin/$tool
done
runHook postInstall
'';
}

View file

@ -43,7 +43,9 @@
xarchiver xarchiver
gvfs gvfs
yad yad
pcmanfm xfce.thunar
xfce.thunar-volman
xfce.thunar-archive-plugin
pavucontrol pavucontrol
pamixer pamixer
@ -54,14 +56,18 @@
gamemode gamemode
ezquake ezquake
vkquake vkquake
ericw-tools ericw-tools-latest
embree # for ericw-tools
tbb # for ericw-tools
trenchbroom trenchbroom
r2modman r2modman
godot_4
libreoffice-qt libreoffice-qt
gimp gimp
sqlitebrowser sqlitebrowser
feh feh
vlc
wineWowPackages.stable wineWowPackages.stable
winetricks winetricks
@ -70,6 +76,8 @@
ccls ccls
clang-tools clang-tools
tcl tcl
valgrind
linuxKernel.packages.linux_6_6.perf
gpu-screen-recorder # todo: config this shit so it works gpu-screen-recorder # todo: config this shit so it works
gpu-screen-recorder-gtk gpu-screen-recorder-gtk

View file

@ -69,7 +69,7 @@ in {
{ command = "discord &"; notification = false; } { command = "discord &"; notification = false; }
{ command = "element-desktop &"; notification = false; } { command = "element-desktop &"; notification = false; }
# { command = "xrandr --output DP-3 --mode 1920x1080 --rate 239.76 --primary --output HDMI-3 --mode 1920x1080 --rate 74.97 --right-of DP-3 &"; notification = false; } { command = "xrandr --output DP-3 --mode 1920x1080 --rate 239.76 --primary --output HDMI-3 --mode 1920x1080 --rate 74.97 --right-of DP-3 &"; notification = false; }
]; ];
modes = let modes = let