curacao: Add cameractrls (sorta)

This commit is contained in:
Geoffrey Frogeye 2024-03-27 13:09:00 +01:00
parent 4358f717d0
commit 5148643a64
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 15 additions and 0 deletions

View file

@ -10,5 +10,6 @@
./disko.nix ./disko.nix
./features.nix ./features.nix
./hardware.nix ./hardware.nix
./webcam
]; ];
} }

View file

@ -0,0 +1,14 @@
{ pkgs, lib, config, ... }:
{
config = {
# TODO This should install cameractrls, but it seems like it's not easy to install.
# In the meantime, we install Flatpak and do:
# flatpak run hu.irl.cameractrls
services.flatpak.enable = true;
xdg.portal = {
config.common.default = "*";
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
};
}