[NixOS] Temporarily disable some electron stuff
This commit is contained in:
parent
f9042e8e80
commit
295ed619ff
@ -1,28 +1,28 @@
|
||||
{ pkgs, config, makeEnable, forEachUser, ... }:
|
||||
makeEnable config "modules.electron" false {
|
||||
environment.systemPackages = with pkgs; [
|
||||
element-desktop
|
||||
bitwarden
|
||||
# element-desktop
|
||||
# bitwarden
|
||||
discord
|
||||
etcher
|
||||
keybase-gui
|
||||
# etcher
|
||||
# keybase-gui
|
||||
zoom-us
|
||||
];
|
||||
home-manager.users = forEachUser (if pkgs.system == "x86_64-linux" then {
|
||||
systemd.user.services.bitwarden = {
|
||||
Unit = {
|
||||
Description = "Bitwarden";
|
||||
After = [ "graphical-session-pre.target" "tray.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
# systemd.user.services.bitwarden = {
|
||||
# Unit = {
|
||||
# Description = "Bitwarden";
|
||||
# After = [ "graphical-session-pre.target" "tray.target" ];
|
||||
# PartOf = [ "graphical-session.target" ];
|
||||
# };
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
# Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.bitwarden}/bin/bitwarden";
|
||||
Restart = "always";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
# Service = {
|
||||
# ExecStart = "${pkgs.bitwarden}/bin/bitwarden";
|
||||
# Restart = "always";
|
||||
# RestartSec = 3;
|
||||
# };
|
||||
# };
|
||||
} else {});
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
makeEnable config "modules.games" false {
|
||||
environment.systemPackages = with pkgs; [
|
||||
steam
|
||||
heroic
|
||||
# heroic
|
||||
];
|
||||
boot.extraModulePackages = with pkgs; [
|
||||
xboxdrv
|
||||
|
Loading…
Reference in New Issue
Block a user