Compare commits

..

No commits in common. "e0394f866cb7ad8fc35b8759c4d79e33ae483ac7" and "026b04add68b7b9d8640e7fae2dcf34bc388d891" have entirely different histories.

5 changed files with 10 additions and 60 deletions

View File

@ -1,13 +0,0 @@
{...}:
{
virtualisation.lxc.enable = true;
virtualisation.lxc.lxcfs.enable = true;
virtualisation.lxd.enable = false;
virtualisation.waydroid.enable = false;
virtualisation.podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
};
}

View File

@ -6,7 +6,6 @@
./hardware ./hardware
./vm ./vm
./secrets ./secrets
./containers
./scripts.nix ./scripts.nix
./tmp.nix ./tmp.nix

View File

@ -62,7 +62,6 @@
libGL.dev libGL.dev
libGLU.dev libGLU.dev
vulkan-loader.dev vulkan-loader.dev
vulkan-headers
xorg.xorgproto xorg.xorgproto
xorg.libX11.dev xorg.libX11.dev
xorg.libXrandr.dev xorg.libXrandr.dev
@ -87,7 +86,7 @@
home.packages = [ home.packages = [
pkgs.papirus-icon-theme pkgs.papirus-icon-theme
materusArg.pkgs.ffmpeg_7-amf-full materusArg.pkgs.ffmpeg_7-amf-full
(materusArg.pkgs.polymc-qt5.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; }) (materusArg.pkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; })
pkgs.git-crypt pkgs.git-crypt
pkgs.obsidian pkgs.obsidian
]; ];

View File

@ -1,7 +1,9 @@
{ config, pkgs, materusArg, ... }: { config, pkgs, materusArg, ... }:
{ {
virtualisation.lxc.enable = true;
virtualisation.lxc.lxcfs.enable = true;
virtualisation.lxd.enable = true;
programs.gamemode.enable = true; programs.gamemode.enable = true;
programs.corectrl.enable = true; programs.corectrl.enable = true;
@ -55,7 +57,12 @@
services.libinput.enable = true; services.libinput.enable = true;
virtualisation.waydroid.enable = false;
virtualisation.podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
};

View File

@ -1,42 +0,0 @@
#/usr/bin/env bash
IFS=$'\n'
convert_cmd () {
if ! command -v convert &> /dev/null; then nix shell nixpkgs\#imagemagick -c convert "$@"; else convert "$@"; fi
}
change_to_webp() {
f="$1"
file="${f%.*}"
file_webp="${file}.webp"
echo "Trying to convert to $file_webp"
if convert_cmd "$f" "$file_webp"; then
if touch -r "$f" "$file_webp"; then
rm "$f"
echo "Finished converting $f"
else
echo "Failed to set old date to new file"
exit 1
fi
else
echo "Failed to convert $f"
exit 1;
fi
}
pushd $XDG_PICTURES_DIR
for f in `find "." \( -name "*.png" -type f -o -name "*.jpg" -type f -o -name "*.jpeg" -type f -o -name "*.avif" -type f \) \
-a -not \( -path "./Inne/Special/*" -o -path "./Inne/Emojis/*" -o -path "./Inne/MCSkins/*" -o -path "./Avatar/*" -o -path "./Inne/GIF/*" \)`;
do
change_to_webp "$f" &
done
for job in `jobs -p`
do
echo "Waiting for: $job"
wait $job || let "FAIL+=1"
done
popd