teutat3s: refactor mnx, use 1password nixos module
This commit is contained in:
parent
7869e62028
commit
42ff409512
|
@ -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}
|
||||||
|
|
|
@ -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 {
|
||||||
environment = {
|
config = {
|
||||||
systemPackages = with pkgs; [
|
environment = {
|
||||||
networkmanager-fortisslvpn
|
systemPackages = with pkgs; [
|
||||||
openfortivpn
|
networkmanager-fortisslvpn
|
||||||
];
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue