rename 1password module with underscore

This commit is contained in:
Noah Masur 2023-02-20 17:49:00 -05:00
parent 700e59e6c8
commit 048de4772c
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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 ];

View File

@ -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