upd
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
isArm = builtins.match "aarch64*" system != null;
|
||||
isArm = "aarch64-linux" == system;
|
||||
in
|
||||
{
|
||||
programs.onlyoffice = {
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user