try to make camera work

This commit is contained in:
UGA Innovation Factory
2025-12-08 19:36:58 +00:00
parent e6eb4a9653
commit cedce7fb7c
2 changed files with 7 additions and 25 deletions

View File

@@ -21,6 +21,8 @@ in
"boot.shell_on_fail" "boot.shell_on_fail"
"udev.log_priority=3" "udev.log_priority=3"
"rd.systemd.show_status=auto" "rd.systemd.show_status=auto"
"intel_ipu3_imgu"
"intel_ipu3_isys"
]; ];
boot.kernelPackages = lib.mkForce refKernelPackages; boot.kernelPackages = lib.mkForce refKernelPackages;

View File

@@ -56,7 +56,8 @@
}; };
i18n.inputMethod = { i18n.inputMethod = {
enabled = "ibus"; type = "ibus";
enable = true;
ibus.engines = [ pkgs.ibus-engines.m17n ]; ibus.engines = [ pkgs.ibus-engines.m17n ];
}; };
@@ -99,24 +100,6 @@
ENV{ID_INPUT_KEY}="", ENV{ID_INPUT_KEYBOARD}="" ENV{ID_INPUT_KEY}="", ENV{ID_INPUT_KEYBOARD}=""
''; '';
systemd.user.services."force-osk" = {
description = "Force-enable GNOME OSK after session init";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
unitConfig = {
After = [ "gnome-session-initialized.target" "graphical-session.target" ];
};
serviceConfig = {
ExecStart = ''
${pkgs.glib.bin}/bin/gsettings set \
org.gnome.desktop.a11y.applications screen-keyboard-enabled true
'';
Type = "oneshot";
};
};
systemd.user.services."chromium-kiosk" = { systemd.user.services."chromium-kiosk" = {
description = "Chromium kiosk"; description = "Chromium kiosk";
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
@@ -159,6 +142,7 @@
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true;
}; };
# Allow unfree packages # Allow unfree packages
@@ -168,6 +152,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
htop htop
binutils binutils
libcamera
libcamera-tools
(chromium.override { (chromium.override {
commandLineArgs = [ "--enable-features=TouchpadOverscrollHistoryNavigation" ]; commandLineArgs = [ "--enable-features=TouchpadOverscrollHistoryNavigation" ];
}) })
@@ -179,17 +165,11 @@
dconf dconf
phoc phoc
gsettings-desktop-schemas gsettings-desktop-schemas
#(pkgs.writeShellScriptBin "osk-wayland" ''
# exec ${pkgs.squeekboard}/bin/squeekboard "$@"
#'')
inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim
]; ];
programs.chromium = { programs.chromium = {
enable = true; enable = true;
extensions = [
# "ecjkcanpimnagobhegghdeeiagffoidk" # Chrome Virtual Keyboard
];
}; };
programs.zsh.enable = true; programs.zsh.enable = true;