diff options
author | stuebinm | 2023-12-29 18:51:30 +0100 |
---|---|---|
committer | stuebinm | 2023-12-29 18:51:30 +0100 |
commit | 47885b325b63671c5359afcc3c2ebc4ed85f3004 (patch) | |
tree | d21e395d3bf3d37b566c34d2b149eaf2601d7caf /home | |
parent | 3edeaf0a6e7c51cb47cd29be40e677980fc876bf (diff) |
more updates
Diffstat (limited to 'home')
-rw-r--r-- | home/home.nix | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/home/home.nix b/home/home.nix index a67a693..15d8e50 100644 --- a/home/home.nix +++ b/home/home.nix @@ -330,23 +330,22 @@ programs.bat = { enable = true; config.wrap = "never"; - }; - - # TODO: remove once programs.bat.syntaxes is in home-manager's release - xdg.configFile = - let - syntaxes = { - isabelle = builtins.readFile - "${inputs.isabelle-utils}/isabelle.sublime-syntax"; - gleam = builtins.readFile (pkgs.fetchFromGitHub { + syntaxes = { + isabelle = { + src = inputs.isabelle-utils; + file = "/isabelle.sublime-syntax"; + }; + gleam = { + src = pkgs.fetchFromGitHub { owner = "molnarmark"; repo = "sublime-gleam"; rev = "2e761cdb1a87539d827987f997a20a35efd68aa9"; sha256 = "sha256-Zj2DKTcO1t9g18qsNKtpHKElbRSc9nBRE2QBzRn9+qs="; - } + "/syntax/gleam.sublime-syntax"); + }; + file = "/syntax/gleam.sublime-syntax"; }; - in with lib; mkMerge ( - flip mapAttrsToList syntaxes (name: body: { - "bat/syntaxes/${name}.sublime-syntax" = { text = body; }; - })); + }; + }; + + xdg.mimeApps.associations.added."x-scheme-handler/tg" = "org.telegram.desktop.deskopt"; } |