From 4e838e1f24dc5a97babdf15715534ae4df76a06f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 23 Sep 2024 10:12:04 +0100 Subject: [PATCH 1/3] Remove uv, eslint and typescript-language-server --- system/home/emacs/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/system/home/emacs/default.nix b/system/home/emacs/default.nix index ef150a50..e3f7a90d 100644 --- a/system/home/emacs/default.nix +++ b/system/home/emacs/default.nix @@ -12,7 +12,6 @@ }; programs.emacs = { # Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git - # git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d enable = true; package = pkgs.emacs29-pgtk; extraConfig = @@ -93,14 +92,12 @@ silicon ## Python Environments - uv poetry ## Linters shellcheck yamllint ruff - nodePackages.eslint ## Formatters nixfmt-rfc-style @@ -111,7 +108,6 @@ ## Language servers nixd lua-language-server - nodePackages.typescript-language-server ## Interpreters (python3.withPackages ( From 92eaf649680b435e1916082bf7a861f2ace5cfd8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 23 Sep 2024 10:17:24 +0100 Subject: [PATCH 2/3] Add TOML plugin for Prettier --- system/home/emacs/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/system/home/emacs/default.nix b/system/home/emacs/default.nix index e3f7a90d..3e8a2e0b 100644 --- a/system/home/emacs/default.nix +++ b/system/home/emacs/default.nix @@ -104,6 +104,7 @@ shfmt stylua nodePackages.prettier + nodePackages.prettier-plugin-toml ## Language servers nixd From 6ee132ac99bd22b618722efe38099a253c7d81b1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 23 Sep 2024 13:32:59 +0100 Subject: [PATCH 3/3] Autostart twinkle on work machines --- system/home/work.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/system/home/work.nix b/system/home/work.nix index aeaac558..23fcad24 100644 --- a/system/home/work.nix +++ b/system/home/work.nix @@ -17,6 +17,7 @@ outlook.primary = lib.mkForce true; }; xdg.configFile = { + "autostart/twinkle.desktop".source = "${pkgs.twinkle}/share/applications/twinkle.desktop"; "autostart/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop"; "teams-for-linux/config.json".text = builtins.toJSON { awayOnSystemIdle = true;