safe eyes
This commit is contained in:
parent
77df4c2a45
commit
054f80a3f5
4 changed files with 31 additions and 13 deletions
|
|
@ -9,6 +9,7 @@
|
|||
in {
|
||||
imports = [
|
||||
./firefox.nix
|
||||
./safeeyes.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
|
|
|||
22
modules/apps/visual/safeeyes.nix
Normal file
22
modules/apps/visual/safeeyes.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue