Compare commits

...

6 commits

Author SHA1 Message Date
38101c98d3
Customize Gptel and bTop floating windows sizes for each host
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 14m50s
2025-02-27 14:18:12 +07:00
e1ebdc68e9
Improve Discord 2025-02-27 14:06:04 +07:00
e35ba5af34
Make ssh better/faster? 2025-02-27 14:05:52 +07:00
6a7a16807d
Disable spotify on sisko 2025-02-27 14:05:40 +07:00
f358b8e5e9
Change sisko NFS mountpoint 2025-02-27 14:05:23 +07:00
88ada5d28d
Enable emacs-lsp-booster 2025-02-27 14:05:13 +07:00
9 changed files with 45 additions and 7 deletions

View file

@ -1,6 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = [ pkgs.discord ]; home.packages = [ (pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
}) ];
home.file.".config/discord/settings.json".text = builtins.toJSON { home.file.".config/discord/settings.json".text = builtins.toJSON {
SKIP_HOST_UPDATE = true; SKIP_HOST_UPDATE = true;
}; };

View file

@ -48,6 +48,7 @@ in
kdePackages.qtwayland kdePackages.qtwayland
copilot-node-server copilot-node-server
math-preview math-preview
emacs-lsp-booster
] ]
++ (with hunspellDicts; [ ++ (with hunspellDicts; [
en_US-large en_US-large

View file

@ -37,6 +37,10 @@
(consult-eglot-embark-mode) (consult-eglot-embark-mode)
) )
(use-package eglot-booster
:after eglot
:config (eglot-booster-mode))
(use-package emacs (use-package emacs
:bind (("<mouse-4>" . scroll-down-line) :bind (("<mouse-4>" . scroll-down-line)
("<mouse-5>" . scroll-up-line) ("<mouse-5>" . scroll-up-line)

View file

@ -33,6 +33,12 @@ in
credential.helper = "manager"; credential.helper = "manager";
credential.credentialStore = "cache"; credential.credentialStore = "cache";
core = {
fsmonitor = true;
untrackedcache = true;
};
fetch.writeCommitGraph = true;
}; };
userName = config.name; userName = config.name;

View file

@ -351,11 +351,11 @@ binds {
Mod+B { spawn "firefox"; } Mod+B { spawn "firefox"; }
Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; } Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; }
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; } Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))" "-F" "((name . \"GPTel - Emacs\") (width . 150) (height . 60))'"; } Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))" "-F" "((name . \"GPTel - Emacs\") (width . $NIRI_GPTEL_COLS) (height . $NIRI_GPTEL_ROWS))'"; }
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; } Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
Mod+Alt+L { spawn "swaylock"; } Mod+Alt+L { spawn "swaylock"; }
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; } Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "210x60" "btop";} Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "NIRI_BTOP_COLSx$NIRI_BTOP_ROWS" "btop";}
// Example volume keys mappings for PipeWire & WirePlumber. // Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked. // The allow-when-locked=true property makes them work even when the session is locked.

View file

@ -33,10 +33,25 @@
fi fi
''; '';
home.sessionVariables = { home.sessionVariables = let
niriVars = {
picard = {
NIRI_GPTEL_ROWS = 60;
NIRI_GPTEL_COLS = 150;
NIRI_BTOP_ROWS = 210;
NIRI_BTOP_COLS = 60;
};
kirk = {
NIRI_GPTEL_ROWS = 40;
NIRI_GPTEL_COLS = 140;
NIRI_BTOP_ROWS = 140;
NIRI_BTOP_COLS = 40;
};
};
in {
DISPLAY = ":0"; DISPLAY = ":0";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
}; } // (niriVars."${config.networking.hostname}" or niriVars.kirk);
programs.rofi = { programs.rofi = {
enable = true; enable = true;

View file

@ -57,7 +57,6 @@
"niri" "niri"
"udiskie" "udiskie"
"xdg" "xdg"
"spotify"
"lutris" "lutris"
"wine" "wine"
"cura" "cura"

View file

@ -15,7 +15,7 @@
source = "${pkgs.nfs-utils.out}/bin/mount.nfs"; source = "${pkgs.nfs-utils.out}/bin/mount.nfs";
}; };
fileSystems."/home/${config.ccr.username}/nas" = { fileSystems."/mnt/nas" = {
device = "sisko.fleet:/hd"; device = "sisko.fleet:/hd";
fsType = "nfs"; fsType = "nfs";
options = [ options = [

View file

@ -98,6 +98,16 @@ let
}; };
deps = [ ]; deps = [ ];
}; };
eglot-booster = buildEmacsPackage {
name = "eglot-booster";
src = pkgs.fetchFromGitHub {
owner = "jdtsmith";
repo = "eglot-booster";
rev = "e6daa6bcaf4aceee29c8a5a949b43eb1b89900ed";
hash = "sha256-PLfaXELkdX5NZcSmR1s/kgmU16ODF8bn56nfTh9g6bs=";
};
deps = [ ];
};
}; };
# *List* containing emacs packages from (M)ELPA # *List* containing emacs packages from (M)ELPA