chore: initial commit

This commit is contained in:
technofab 2025-08-25 16:45:22 +02:00
commit 25cc087b1d
No known key found for this signature in database
17 changed files with 741 additions and 0 deletions

23
lib/devshellModule.nix Normal file
View file

@ -0,0 +1,23 @@
{
pkgs,
lib,
config,
...
}: let
inherit (lib) mkOption types;
soonixModule = ./module.nix;
in {
options.soonix = mkOption {
type = types.submodule {
# propagate pkgs to the soonix module
_module.args.pkgs = pkgs;
imports = [soonixModule];
};
default = {};
};
config.enterShellCommands.soonix = {
text = config.soonix.shellHook;
deps = ["env"];
};
}