safe eyes

This commit is contained in:
KoenDR06 2025-11-21 13:56:42 +01:00
parent 77df4c2a45
commit 054f80a3f5
4 changed files with 31 additions and 13 deletions

View file

@ -9,6 +9,7 @@
in {
imports = [
./firefox.nix
./safeeyes.nix
];
options = {

View file

@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.visual.safeeyes;
in {
options = {
horseman.apps.visual.safeeyes = {
enable = mkEnableOption "Protects your eyes";
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
snixembed
safeeyes
];
};
}