NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add 1password CLI + GUI

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+22 -1
+1
hosts/stellapent-cier/configuration.nix
··· 21 21 ../../shared/systemd.nix 22 22 ../../shared/yubikey.nix 23 23 ../../shared/server/devenv.nix 24 + ../../shared/1password.nix 24 25 ]; 25 26 26 27 # Bootloader.
+19
shared/1password.nix
··· 1 + { config, lib, pkgs, ... }: 2 + { 3 + # Enable the unfree 1Password packages 4 + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ 5 + "1password-gui" 6 + "1password" 7 + ]; 8 + # Alternatively, you could also just allow all unfree packages 9 + # nixpkgs.config.allowUnfree = true; 10 + 11 + programs._1password.enable = true; 12 + programs._1password-gui = { 13 + enable = true; 14 + # Certain features, including CLI integration and system authentication support, 15 + # require enabling PolKit integration on some desktop environments (e.g. Plasma). 16 + polkitPolicyOwners = [ "gildedguy", "ajhalili2006" ]; 17 + }; 18 + ... 19 + }
+2 -1
shared/home-manager/main.nix
··· 39 39 # echo "Hello, ${config.home.username}!" 40 40 # '') 41 41 ## desktop apps ## 42 - 42 + _1password-gui 43 43 44 44 ## devtools ## 45 45 # https://httpie.io ··· 59 59 direnv 60 60 shellcheck 61 61 hadolint 62 + _1password 62 63 63 64 ## programming languages 64 65 deno