curacao: Add cameractrls (sorta)
This commit is contained in:
parent
4358f717d0
commit
5148643a64
|
@ -10,5 +10,6 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./features.nix
|
./features.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
|
./webcam
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
14
curacao/webcam/default.nix
Normal file
14
curacao/webcam/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue