From 048de4772c318b3c61a30c350a39518ddc93c3cb Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:49:00 -0500 Subject: [PATCH] rename 1password module with underscore --- hosts/tempest/default.nix | 2 +- modules/applications/1password.nix | 4 ++-- modules/applications/firefox.nix | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/tempest/default.nix b/hosts/tempest/default.nix index 73e8216..b6a6ab7 100644 --- a/hosts/tempest/default.nix +++ b/hosts/tempest/default.nix @@ -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; diff --git a/modules/applications/1password.nix b/modules/applications/1password.nix index 9a31c03..13ada8a 100644 --- a/modules/applications/1password.nix +++ b/modules/applications/1password.nix @@ -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 ]; diff --git a/modules/applications/firefox.nix b/modules/applications/firefox.nix index a23d530..0dc1b66 100644 --- a/modules/applications/firefox.nix +++ b/modules/applications/firefox.nix @@ -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