2023-11-17 18:43:04 -07:00
|
|
|
{ pkgs, config, makeEnable, forEachUser, ... }:
|
|
|
|
makeEnable config "modules.electron" false {
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-04-28 17:17:23 -06:00
|
|
|
element-desktop
|
2023-11-17 23:10:44 -07:00
|
|
|
# bitwarden
|
2023-11-17 18:43:04 -07:00
|
|
|
discord
|
2023-11-17 23:10:44 -07:00
|
|
|
# etcher
|
|
|
|
# keybase-gui
|
2023-11-17 18:43:04 -07:00
|
|
|
zoom-us
|
|
|
|
];
|
|
|
|
home-manager.users = forEachUser (if pkgs.system == "x86_64-linux" then {
|
2023-11-17 23:10:44 -07:00
|
|
|
# systemd.user.services.bitwarden = {
|
|
|
|
# Unit = {
|
|
|
|
# Description = "Bitwarden";
|
|
|
|
# After = [ "graphical-session-pre.target" "tray.target" ];
|
|
|
|
# PartOf = [ "graphical-session.target" ];
|
|
|
|
# };
|
2023-11-17 18:43:04 -07:00
|
|
|
|
2023-11-17 23:10:44 -07:00
|
|
|
# Install = { WantedBy = [ "graphical-session.target" ]; };
|
2023-11-17 18:43:04 -07:00
|
|
|
|
2023-11-17 23:10:44 -07:00
|
|
|
# Service = {
|
|
|
|
# ExecStart = "${pkgs.bitwarden}/bin/bitwarden";
|
|
|
|
# Restart = "always";
|
|
|
|
# RestartSec = 3;
|
|
|
|
# };
|
|
|
|
# };
|
2023-11-17 18:43:04 -07:00
|
|
|
} else {});
|
|
|
|
}
|