users/foo-dogsquared: enable Neorg for NixVim setup and add Oils for Unix as part of dev't setup

This commit is contained in:
Gabriel Arazas 2024-10-21 15:26:05 +08:00
parent d704112695
commit c5638f2174
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 26 additions and 25 deletions

View File

@ -2,7 +2,7 @@
{ {
# The main star of the show. # The main star of the show.
plugins.neorg.enable = false; plugins.neorg.enable = true;
# Set it up, set it up, set it up. # Set it up, set it up, set it up.
plugins.neorg.extraOptions = { plugins.neorg.extraOptions = {
@ -18,9 +18,7 @@
"core.concealer" = helpers.emptyTable; "core.concealer" = helpers.emptyTable;
# Dear diary... # Dear diary...
"core.journal".config = { "core.journal".config = { strategy = "flat"; };
strategy = "flat";
};
# Norg ripping a page from org-mode. # Norg ripping a page from org-mode.
"core.ui.calendar" = helpers.emptyTable; "core.ui.calendar" = helpers.emptyTable;
@ -42,7 +40,9 @@
}; };
# Install the common text markup tree-sitter grammars. # Install the common text markup tree-sitter grammars.
plugins.treesitter.grammarPackages = with config.plugins.treesitter.package.builtGrammars; [ plugins.treesitter.grammarPackages =
with config.plugins.treesitter.package.builtGrammars;
[
bibtex bibtex
cooklang cooklang
latex latex

View File

@ -3,8 +3,7 @@
let let
userCfg = config.users.foo-dogsquared; userCfg = config.users.foo-dogsquared;
cfg = userCfg.setups.development; cfg = userCfg.setups.development;
in in {
{
options.users.foo-dogsquared.setups.development.enable = options.users.foo-dogsquared.setups.development.enable =
lib.mkEnableOption "foo-dogsquared's software development setup"; lib.mkEnableOption "foo-dogsquared's software development setup";
@ -44,6 +43,7 @@ in
dt # Get that functional gawk. dt # Get that functional gawk.
recode # Convert between different encodings. recode # Convert between different encodings.
go-migrate # Go potential migraines. go-migrate # Go potential migraines.
oils-for-unix # Rev them up, reverent admin.
]; ];
} }
@ -85,7 +85,8 @@ in
}) })
(lib.mkIf (userCfg.setups.desktop.enable && pkgs.stdenv.isLinux) { (lib.mkIf (userCfg.setups.desktop.enable && pkgs.stdenv.isLinux) {
home.packages = with pkgs; [ home.packages = with pkgs;
[
d-spy # Some GNOME dev probably developed this. d-spy # Some GNOME dev probably developed this.
]; ];
}) })