profiles/webcam: init from legacy

This commit is contained in:
Felix Buehler 2023-03-19 22:40:58 +01:00
parent 74377750b9
commit 362d06cc00
4 changed files with 18 additions and 8 deletions

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.webcam;
in
{
options.my.profiles.webcam = with lib; {
enable = mkEnableOption "webcam profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
fswebcam
# gnome.cheese does no longer work
];
};
}