Install libsecret to desktop by default, needed for mbsync

Move alacritty opacity and decoration settings to sway only. Remove
Emacs opacity by default, todo maybe add to sway only somehow...
This commit is contained in:
Evie Litherland-Smith 2024-07-10 08:36:28 +01:00
parent 05d19c1813
commit 3e0a4bb725
5 changed files with 13 additions and 14 deletions

View file

@ -13,15 +13,7 @@
style = "Regular";
};
};
window = {
dynamic_title = true;
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.85;
};
window.dynamic_title = true;
live_config_reload = true;
selection.save_to_clipboard = true;
mouse.hide_when_typing = true;

View file

@ -42,7 +42,17 @@ in {
systemctl --user restart davmail
'')
];
programs.waybar.systemd.target = "sway-session.target";
programs = {
waybar.systemd.target = "sway-session.target";
alacritty.settings.window = {
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.85;
};
};
services = {
kanshi.systemdTarget = "sway-session.target";
gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;

View file

@ -27,7 +27,6 @@
fixed-font-family = "${fonts.monospace.name}";
variable-font-family = "${fonts.sansSerif.name}";
font-height = builtins.toString (builtins.floor (builtins.mul fonts.sizes.applications 10));
alpha = "85";
custom-theme-name = "nix";
custom-theme = pkgs.writeTextFile {
name = "custom-emacs-theme";
@ -52,8 +51,6 @@
};
custom-theme-hash = builtins.hashFile "sha256" "${custom-theme}/${custom-theme-name}-theme.el";
in ''
(add-to-list 'initial-frame-alist '(alpha-background . ${alpha}))
(add-to-list 'default-frame-alist '(alpha-background . ${alpha}))
(add-to-list 'custom-theme-load-path "${custom-theme}")
(add-to-list 'custom-safe-themes "${custom-theme-hash}")
(load-theme '${custom-theme-name})

View file

@ -13,6 +13,7 @@
QT_QPA_PLATFORM = lib.mkIf config.programs.sway.enable "wayland";
};
systemPackages = with pkgs; [
libsecret
xdg-utils
hunspell
hunspellDicts.en_GB-large

View file

@ -9,7 +9,6 @@
systemPackages = with pkgs; [
wtype
wl-clipboard
libsecret
libnotify
libcamera
glib