diff --git a/README.md b/README.md index ab69b94..d963e9b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ # TODOs: +* [ ] https://discourse.nixos.org/t/jsonresume-nix-build-and-deploy-your-resume-with-nix/34089 * [ ] https://github.com/ogoid/nixos-expose-cuda * [ ] http health monitoring `services.netdata.httpcheck.checks.` * [x] Split stuff into multiple files diff --git a/profiles/web/todos.md b/profiles/web/todos.md index b1e68b6..8d5a9a7 100644 --- a/profiles/web/todos.md +++ b/profiles/web/todos.md @@ -21,3 +21,6 @@ #hostKey = null; }; ``` + +* [ ] a DAW profile + * https://libreddit.noximilien.pbsds.net/r/linuxaudio/comments/wntpyd/linux_plugins_thread_2022/ diff --git a/users/pbsds/home/default.nix b/users/pbsds/home/default.nix index 03863ad..7a9d302 100644 --- a/users/pbsds/home/default.nix +++ b/users/pbsds/home/default.nix @@ -9,6 +9,7 @@ ./profiles/git.nix ./profiles/gtk.nix ./profiles/micro.nix + ./profiles/ast-rep.nix ./profiles/shell.nix ./profiles/gh-dash.nix ./profiles/ssh.nix diff --git a/users/pbsds/home/profiles/ast-grep.nix b/users/pbsds/home/profiles/ast-grep.nix new file mode 100644 index 0000000..b749080 --- /dev/null +++ b/users/pbsds/home/profiles/ast-grep.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: +{ + # https://github.com/ast-grep/ast-grep/issues/658 + # https://github.com/ast-grep/ast-grep/issues/30 + # https://github.com/ast-grep/ast-grep.github.io/issues/98 + + /** / + home.packages = with pkgs; [ + ast-grep + ]; + + xdg.configFile."ast-grep/sgrammar.yaml".source = (pkgs.formats.yaml { }).generate { + ruleDirs = "rules"; + #customLanguages = (lib.mapAttrs (k: v: TODO) pkgs.tree-sitter-grammars) + customLanguages.nix = { + libraryPath = "${pkgs.tree-sitter-grammars.tree-sitter-nix}/parser"; + extensions = [ "nix" ]; + }; + }; + + /**/ +}