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