teutat3s: refactor mnx, use 1password nixos module

This commit is contained in:
teutat3s 2023-05-13 18:47:16 +02:00
parent 7869e62028
commit 42ff409512
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 20 additions and 8 deletions

View file

@ -70,9 +70,6 @@ in {
yubikey-agent yubikey-agent
age-plugin-yubikey age-plugin-yubikey
cockroach-bin cockroach-bin
zoom-us
slack
_1password-gui
]; ];
programs.bash.initExtra = '' programs.bash.initExtra = ''
source ${config.age.secrets.environment-secrets.path} source ${config.age.secrets.environment-secrets.path}

View file

@ -9,10 +9,25 @@ with lib; let
psCfg = config.pub-solar; psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg; xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in { in {
config = {
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
networkmanager-fortisslvpn networkmanager-fortisslvpn
openfortivpn openfortivpn
]; ];
}; };
programs._1password-gui = {
enable = true;
polkitPolicyOwners = ["teutat3s"];
};
programs._1password.enable = true;
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
home.packages = with pkgs; [
zoom-us
slack
];
};
};
} }