Updated system with fixes

This commit is contained in:
Emmet 2023-12-21 20:26:08 -06:00
parent 67f465eaf7
commit bbb51e0286
9 changed files with 83 additions and 49 deletions

View file

@ -1241,7 +1241,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
"q" 'helpful-kill-buffers)
;;;------ helpful configuration ------;;;
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.8")
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.7")
(require 'mu4e)
(require 'mu4e-contrib)
(require 'mu4e-actions)
@ -1385,7 +1385,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
;;;-- projectile wrapper commands ;;;--
(require 'sudo-edit)
(setq sudo-edit-local-method "doas")
(setq sudo-edit-local-method "su")
(map! :leader
:desc "Open current file as root"

View file

@ -66,6 +66,23 @@ in
]))
];
nixpkgs.overlays = [
(self: super:
{
mu = super.mu.overrideAttrs (oldAttrs: rec {
pname = "mu";
version = "1.10.7";
src = super.fetchFromGitHub {
owner = "djcb";
repo = "mu";
rev = "v1.10.7";
hash = "sha256-x1TsyTOK5U6/Y3QInm+XQ7T32X49iwa+4UnaHdiyqCI=";
};
});
}
)
];
services.mbsync = {
enable = true;
package = pkgs.isync;

View file

@ -1465,7 +1465,7 @@ I don't have this active right now since it's kinda weird with pgtk...
** mu4e Configuration
#+BEGIN_SRC emacs-lisp :tangle config.el
;;;------ helpful configuration ------;;;
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.8")
(add-load-path! "~/.nix-profile/share/emacs/site-lisp/elpa/mu4e-1.10.7")
(require 'mu4e)
(require 'mu4e-contrib)
(require 'mu4e-actions)
@ -1650,7 +1650,7 @@ EAF doesn't work on Wayland :(
#+BEGIN_SRC emacs-lisp :tangle config.el
;;;-- projectile wrapper commands ;;;--
(require 'sudo-edit)
(setq sudo-edit-local-method "doas")
(setq sudo-edit-local-method "su")
(map! :leader
:desc "Open current file as root"
@ -2051,6 +2051,23 @@ in
]))
];
nixpkgs.overlays = [
(self: super:
{
mu = super.mu.overrideAttrs (oldAttrs: rec {
pname = "mu";
version = "1.10.7";
src = super.fetchFromGitHub {
owner = "djcb";
repo = "mu";
rev = "v1.10.7";
hash = "sha256-x1TsyTOK5U6/Y3QInm+XQ7T32X49iwa+4UnaHdiyqCI=";
};
});
}
)
];
services.mbsync = {
enable = true;
package = pkgs.isync;

View file

@ -3,7 +3,7 @@ let
myRetroarch =
(pkgs.retroarch.override {
cores = with pkgs.libretro; [
mgba
vba-m
desmume
dolphin
citra

View file

@ -39,7 +39,8 @@
exec-once = waybar
exec-once = emacs --daemon
exec-once = swayidle -w timeout 90 '${pkgs.gtklock}/bin/gtklock -d' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.gtklock}/bin/gtklock -d"
#exec-once = swayidle -w timeout 90 '${pkgs.gtklock}/bin/gtklock -d' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.gtklock}/bin/gtklock -d"
exec-once = swayidle -w timeout 90 '${pkgs.swaylock}/bin/swaylock' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.swaylock}/bin/swaylock"
exec-once = obs-notification-mute-daemon
exec = ~/.swaybg-stylix
@ -127,8 +128,8 @@
bind=,code:238,exec,brightnessctl --device='asus::kbd_backlight' set +1
bind=,code:255,exec,airplane-mode
bind=SUPERSHIFT,S,exec,gtklock -d & sleep 1 && systemctl suspend
bind=SUPERCTRL,L,exec,gtklock -d
bind=SUPERSHIFT,S,exec,swaylock & sleep 1 && systemctl suspend
bind=SUPERCTRL,L,exec,swaylock
bind=SUPER,H,movefocus,l
bind=SUPER,J,movefocus,d
@ -721,12 +722,12 @@
background-size: auto 100%;
}
'';
#programs.swaylock = {
# enable = true;
# settings = {
# color = "#"+config.lib.stylix.colors.base00;
# };
#};
programs.swaylock = {
enable = true;
settings = {
color = "#"+config.lib.stylix.colors.base00;
};
};
programs.fuzzel.enable = true;
programs.fuzzel.settings = {
main = {