This commit is contained in:
mjallen18
2025-12-11 17:41:05 -06:00
parent 82ecfba7db
commit 31202f8b0e
17 changed files with 71 additions and 67 deletions

View File

@@ -5,7 +5,7 @@
...
}:
let
isArm = builtins.match "aarch64*" system != null;
isArm = "aarch64-linux" == system;
in
{
programs.onlyoffice = {

View File

@@ -8,28 +8,28 @@
programs.ccache = {
enable = true;
packageNames = [
"ffmpeg"
"ffmpeg-full"
"ffmpeg-headless-rpi"
"gjs"
"gst-plugins-bad"
"gtk4"
"jemalloc"
"libcamera-rpi"
"libraspberrypi"
"libsecret"
"linux"
"opencv"
"pipewire"
"qemu"
# qemu.pname
"raspberrypi-utils"
"sdl"
"sdl2"
"torch"
"uv"
"webkitgtk"
# "yubioath-flutter"
# "ffmpeg"
# "ffmpeg-full"
# "ffmpeg-headless-rpi"
# "gjs"
# "gst-plugins-bad"
# "gtk4"
# "jemalloc"
# "libcamera-rpi"
# "libraspberrypi"
# "libsecret"
# "linux"
# "opencv"
# "pipewire"
# "qemu"
# # qemu.pname
# "raspberrypi-utils"
# "sdl"
# "sdl2"
# "torch"
# "uv"
# "webkitgtk"
# # "yubioath-flutter"
];
cacheDir = "/var/cache/ccache"; # default location
};

View File

@@ -1,8 +1,11 @@
{ lib, pkgs, ... }:
{ lib, pkgs, system, ... }:
let
isArm = "aarch64-linux" == system;
in
{
boot = {
# Enable AppImage
binfmt.registrations.appimage = {
binfmt.registrations.appimage = lib.mkIf (!isArm) {
wrapInterpreterInShell = lib.mkDefault false;
interpreter = "${lib.getExe pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";