Initial commit
This commit is contained in:
19
nixos-modules/1password.nix
Normal file
19
nixos-modules/1password.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config._1password;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
_1password.enable = lib.mkEnableOption "enable _1password module";
|
||||
};
|
||||
|
||||
config.programs._1password = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
config.programs._1password-gui = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
polkitPolicyOwners = [ "mbessette" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user