mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
rename 1password module with underscore
This commit is contained in:
parent
700e59e6c8
commit
048de4772c
@ -37,7 +37,7 @@ nixpkgs.lib.nixosSystem {
|
||||
media.enable = true;
|
||||
firefox.enable = true;
|
||||
kitty.enable = true;
|
||||
"1password".enable = true;
|
||||
_1password.enable = true;
|
||||
discord.enable = true;
|
||||
nautilus.enable = true;
|
||||
obsidian.enable = true;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
options = {
|
||||
"1password" = {
|
||||
_1password = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable 1Password.";
|
||||
default = false;
|
||||
@ -10,7 +10,7 @@
|
||||
};
|
||||
|
||||
config = lib.mkIf
|
||||
(config.gui.enable && config."1password".enable && pkgs.stdenv.isLinux) {
|
||||
(config.gui.enable && config._1password.enable && pkgs.stdenv.isLinux) {
|
||||
unfreePackages = [ "1password" "_1password-gui" ];
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = with pkgs; [ _1password-gui ];
|
||||
|
@ -14,7 +14,7 @@
|
||||
config = lib.mkIf (config.gui.enable && config.firefox.enable) {
|
||||
|
||||
unfreePackages = [
|
||||
(lib.mkIf config."1password".enable "onepassword-password-manager")
|
||||
(lib.mkIf config._1password.enable "onepassword-password-manager")
|
||||
"okta-browser-plugin"
|
||||
];
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
multi-account-containers
|
||||
facebook-container
|
||||
temporary-containers
|
||||
(lib.mkIf config."1password".enable onepassword-password-manager)
|
||||
(lib.mkIf config._1password.enable onepassword-password-manager)
|
||||
okta-browser-plugin
|
||||
sponsorblock
|
||||
reddit-enhancement-suite
|
||||
|
Loading…
Reference in New Issue
Block a user