my nixos/home-manager configuration
1
fork

Configure Feed

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

add 1password apps

+65 -9
+15 -1
nixos/clever-cloud/default.nix
··· 1 - { ... }: 1 + { 2 + lib, 3 + ... 4 + }: 2 5 3 6 { 4 7 imports = [ ··· 8 11 9 12 boot.initrd.luks.devices."luks-aa53b969-2e9f-4f51-be2e-010aea5bde1f".device = 10 13 "/dev/disk/by-uuid/aa53b969-2e9f-4f51-be2e-010aea5bde1f"; 14 + 15 + nixpkgs.config.allowUnfreePredicate = 16 + pkg: 17 + builtins.elem (lib.getName pkg) [ 18 + "1password" 19 + "1password-cli" 20 + ]; 21 + 22 + programs = { 23 + _1password.enable = true; 24 + }; 11 25 12 26 services = { 13 27 # power management
+8 -7
nixos/desktop/default.nix
··· 1 - { pkgs, lib, ... }: 1 + { 2 + pkgs, 3 + lib, 4 + ... 5 + }: 2 6 3 7 { 4 8 imports = [ ··· 14 18 nixpkgs.config.allowUnfreePredicate = 15 19 pkg: 16 20 builtins.elem (lib.getName pkg) [ 21 + "1password" 22 + "1password-cli" 17 23 "steam" 18 24 "steam-unwrapped" 19 25 ]; 20 26 21 27 programs = { 28 + _1password.enable = true; 22 29 steam.enable = true; 23 30 }; 24 31 ··· 26 33 printing.enable = true; 27 34 mptcpd.enable = true; 28 35 }; 29 - 30 - networking.firewall.allowedUDPPorts = [ 31 - # Warframe ports 32 - 4950 33 - 4955 34 - ]; 35 36 36 37 networking.hostName = "desktop"; 37 38
+15 -1
nixos/laptop/default.nix
··· 1 - { ... }: 1 + { 2 + lib, 3 + ... 4 + }: 2 5 3 6 { 4 7 imports = [ ··· 8 11 9 12 boot.initrd.luks.devices."luks-56c1d52e-92f4-4886-b1e6-0017ec4df4ca".device = 10 13 "/dev/disk/by-uuid/56c1d52e-92f4-4886-b1e6-0017ec4df4ca"; 14 + 15 + nixpkgs.config.allowUnfreePredicate = 16 + pkg: 17 + builtins.elem (lib.getName pkg) [ 18 + "1password" 19 + "1password-cli" 20 + ]; 21 + 22 + programs = { 23 + _1password.enable = true; 24 + }; 11 25 12 26 services = { 13 27 fprintd.enable = true;
+27
nixos/modules/_1password.nix
··· 1 + { 2 + config, 3 + lib, 4 + user, 5 + ... 6 + }: 7 + 8 + let 9 + cfg = config.programs._1password; 10 + in 11 + { 12 + config = lib.mkIf cfg.enable { 13 + programs._1password-gui = { 14 + enable = lib.mkDefault true; 15 + polkitPolicyOwners = lib.mkDefault [ user.name ]; 16 + }; 17 + 18 + environment.etc = { 19 + "1password/custom_allowed_browsers" = { 20 + text = '' 21 + zen 22 + ''; 23 + mode = "0755"; 24 + }; 25 + }; 26 + }; 27 + }