From 4784f1aad5800f3fc858cdefb58925229a2b96dd Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 25 Jul 2024 18:01:11 +0100 Subject: [PATCH 1/3] Swap order of pinned applications --- home/desktop/plasma/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/desktop/plasma/default.nix b/home/desktop/plasma/default.nix index 0a646f7a..ce708009 100644 --- a/home/desktop/plasma/default.nix +++ b/home/desktop/plasma/default.nix @@ -97,8 +97,8 @@ showToolTips = "true"; launchers = [ "applications:org.kde.konsole.desktop" - "applications:emacs.desktop" "preferred://filemanager" + "applications:emacs.desktop" "preferred://browser" ]; }; From 04f4173d49f7c2d632f471bfbff5d90827753ef2 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 26 Jul 2024 09:16:16 +0100 Subject: [PATCH 2/3] git-sync-all: pull ff ~/.emacs.d/ --- home/scripts/shell/git-sync-all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/scripts/shell/git-sync-all.sh b/home/scripts/shell/git-sync-all.sh index dada2c42..0cf9c369 100755 --- a/home/scripts/shell/git-sync-all.sh +++ b/home/scripts/shell/git-sync-all.sh @@ -1,8 +1,9 @@ -# Clone ~/.emacs.d/ if it doesn't exist +# Clone ~/.emacs.d/ if it doesn't exist, fast-forward pull EMACS_DIR="$HOME/.emacs.d/" if [ ! -d "$EMACS_DIR" ]; then git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR" fi +git -C "$EMACS_DIR" pull --ff --ff-only # Sync common directories, setting url to ensure it's up-to-date first SYNC_DIRS=( From 0aa47836175273515907c7da6425ecdbe873bcb4 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 26 Jul 2024 11:44:58 +0100 Subject: [PATCH 3/3] Switch to use python3Full instead of custom python with packages Switch luaJIT for plain lua install --- home/emacs/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/home/emacs/default.nix b/home/emacs/default.nix index e7ab1b2d..d866b88c 100644 --- a/home/emacs/default.nix +++ b/home/emacs/default.nix @@ -70,7 +70,6 @@ # Customised LaTeX install (texlive.combine {inherit (pkgs.texlive) scheme-medium dvisvgm dvipng wrapfig amsmath ulem hyperref capt-of;}) - python3Packages.pygments # Development tools ## Code screenshots @@ -79,15 +78,15 @@ ## Linters shellcheck yamllint + ruff nodePackages.eslint ## Formatters alejandra shfmt - ruff + stylua black isort - stylua nodePackages.prettier ## Language servers @@ -97,10 +96,8 @@ nodePackages.typescript-language-server ## Interpreters - (python3.withPackages - (ps: with ps; [tkinter numpy scipy xarray matplotlib])) - (luajit.withPackages - (ps: [(ps.callPackage ./luarocks/scilua.nix {})])) + lua + python3Full ]; xdg.configFile = { "ruff/pyproject.toml".source = ./ruff.toml;