Modularize teams sops yazi
This commit is contained in:
parent
7730cbef59
commit
c73cb37278
75 changed files with 3023 additions and 3573 deletions
17
modules/programs/teams.nix
Normal file
17
modules/programs/teams.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, config, options, pkgs, ... }:
|
||||
let callPackage = lib.callPackageWith pkgs;
|
||||
in {
|
||||
options.mods.teams = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
description =
|
||||
"Enables teams via a chromium pwa (for the poor souls that have to use this for work)";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.mods.teams.enable
|
||||
(lib.optionalAttrs (options ? home.packages) {
|
||||
home.packages = [ (callPackage ../../override/teams.nix { }) ];
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue