forked from pub-solar/os
teutat3s: refactor mnx, use 1password nixos module
This commit is contained in:
parent
7869e62028
commit
42ff409512
|
@ -70,9 +70,6 @@ in {
|
|||
yubikey-agent
|
||||
age-plugin-yubikey
|
||||
cockroach-bin
|
||||
zoom-us
|
||||
slack
|
||||
_1password-gui
|
||||
];
|
||||
programs.bash.initExtra = ''
|
||||
source ${config.age.secrets.environment-secrets.path}
|
||||
|
|
|
@ -9,10 +9,25 @@ with lib; let
|
|||
psCfg = config.pub-solar;
|
||||
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
||||
in {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
networkmanager-fortisslvpn
|
||||
openfortivpn
|
||||
];
|
||||
config = {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
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