Evie Litherland-Smith
6ed405d7e2
commit68df6945a2
Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commitfa7baa7812
Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit4a101ee77d
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 commit923adabb28
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 commitdfc1ac3f74
Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commiteb8bb86c17
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 commit51171ddb06
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 commit99364c041b
Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
111 lines
2.9 KiB
Nix
111 lines
2.9 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: 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 = [
|
|
./plasma6/default.nix
|
|
./alacritty/default.nix
|
|
];
|
|
home.packages = with pkgs; [
|
|
libreoffice-fresh
|
|
inkscape
|
|
webcord
|
|
protonmail-setup-bridge
|
|
davmail-setup
|
|
pkgs.volantes-cursors
|
|
(pkgs.papirus-icon-theme.override {color = "violet";})
|
|
];
|
|
services.syncthing.enable = true;
|
|
programs.mpv.enable = true;
|
|
# 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 = {
|
|
# 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";
|
|
};
|
|
};
|
|
};
|
|
# 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;
|
|
# };
|
|
}
|