Move where autostarts are defined
Auto start webcord on personal devices
This commit is contained in:
parent
2e68962295
commit
53a8272876
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
# Programs
|
# Programs
|
||||||
./desktop/default.nix
|
./desktop/default.nix
|
||||||
|
@ -11,4 +11,22 @@
|
||||||
# Additional Scripts
|
# Additional Scripts
|
||||||
./scripts/default.nix
|
./scripts/default.nix
|
||||||
];
|
];
|
||||||
|
packages = with pkgs; [
|
||||||
|
libreoffice-fresh
|
||||||
|
inkscape
|
||||||
|
webcord
|
||||||
|
whatsapp-for-linux
|
||||||
|
teams-for-linux
|
||||||
|
];
|
||||||
|
xdg.configFile = {
|
||||||
|
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
|
||||||
|
"teams-for-linux/config.json".text = builtins.toJSON {
|
||||||
|
awayOnSystemIdle = true;
|
||||||
|
closeAppOnCross = true;
|
||||||
|
followSystemTheme = true;
|
||||||
|
notificationMethod = "electron";
|
||||||
|
optInTeamsV2 = true;
|
||||||
|
spellCheckerLanguages = ["en_GB"];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -20,13 +19,6 @@
|
||||||
defaultCursor = name;
|
defaultCursor = name;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
packages = with pkgs; [
|
|
||||||
libreoffice-fresh
|
|
||||||
inkscape
|
|
||||||
webcord
|
|
||||||
whatsapp-for-linux
|
|
||||||
teams-for-linux
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
programs.mpv.enable = true;
|
programs.mpv.enable = true;
|
||||||
|
@ -51,18 +43,6 @@
|
||||||
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
configFile = {
|
|
||||||
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
|
|
||||||
"teams-for-linux/config.json".text = builtins.toJSON {
|
|
||||||
awayOnSystemIdle = true;
|
|
||||||
closeAppOnCross = true;
|
|
||||||
followSystemTheme = true;
|
|
||||||
electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]];
|
|
||||||
notificationMethod = "electron";
|
|
||||||
optInTeamsV2 = true;
|
|
||||||
spellCheckerLanguages = ["en_GB"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
xresources.properties = with config.scheme.withHashtag; {
|
xresources.properties = with config.scheme.withHashtag; {
|
||||||
"*background" = base00;
|
"*background" = base00;
|
||||||
|
|
|
@ -7,4 +7,7 @@
|
||||||
openscad
|
openscad
|
||||||
kicad-small
|
kicad-small
|
||||||
];
|
];
|
||||||
|
xdg.configFile = {
|
||||||
|
"autostart/webcord.desktop".source = "${pkgs.webcord}/share/applications/webcord.desktop";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue