This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/default.nix

109 lines
2.8 KiB
Nix
Raw Normal View History

{
config,
pkgs,
...
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
}: let
protonmail-setup-bridge = with pkgs; (writeShellScriptBin "protonmail-setup-bridge" ''
pkill -9 -f protonmail-bridge
${protonmail-bridge}/bin/protonmail-bridge -c
swaymsg exec "${protonmail-bridge}/bin/protonmail-bridge -n"
'');
davmail-setup = with pkgs; (writeShellScriptBin "davmail-setup" ''
systemctl --user restart davmail # Ensure config file is present
systemctl --user stop davmail
${davmail}/bin/davmail -n ~/.davmail.properties
systemctl --user restart davmail
'');
in {
imports = [
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
./plasma6/default.nix
./alacritty/default.nix
];
home.packages = with pkgs; [
libreoffice-fresh
inkscape
webcord
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
protonmail-setup-bridge
davmail-setup
];
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
services.syncthing.enable = true;
programs.mpv.enable = true;
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
# gtk = {
# enable = true;
# iconTheme = {
# package = pkgs.papirus-icon-theme.override {color = "violet";};
# name =
# if config.scheme.variant == "light"
# then "Papirus-Light"
# else "Papirus-Dark";
# };
# cursorTheme = {
# package = pkgs.volantes-cursors;
# name =
# if config.scheme.variant == "light"
# then "volantes_cursors"
# else "volantes_light_cursors";
# size = 32;
# };
# theme = {
# package = pkgs.gnome.gnome-themes-extra;
# name =
# if config.scheme.variant == "light"
# then "Adwaita"
# else "Adwaita-dark";
# };
# };
# qt = {
# enable = true;
# style = {
# package = pkgs.adwaita-qt;
# name =
# if config.scheme.variant == "light"
# then "adwaita"
# else "adwaita-dark";
# };
# };
xdg = {
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
# mime.enable = true;
# mimeApps = let
# defaultApplications = import ./mimeapps.nix;
# in {
# enable = true;
# inherit defaultApplications;
# associations = {
# added = defaultApplications;
# removed = {
# "x-scheme-handler/zoomus" = config.xdg.mimeApps.defaultApplications."x-scheme-handler/http";
# };
# };
# };
userDirs = {
enable = true;
createDirectories = true;
extraConfig = {
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
};
};
};
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
# xresources.properties = with config.scheme.withHashtag; {
# "*background" = base00;
# "*foreground" = base05;
# "*color0" = base00;
# "*color1" = red;
# "*color2" = green;
# "*color3" = yellow;
# "*color4" = blue;
# "*color5" = magenta;
# "*color6" = cyan;
# "*color7" = base04;
# "*color8" = base01;
# "*color9" = red;
# "*color10" = green;
# "*color11" = yellow;
# "*color12" = blue;
# "*color13" = magenta;
# "*color14" = cyan;
# "*color15" = base05;
# };
}