mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2025-12-11 22:00:05 +01:00
chore: initial commit
This commit is contained in:
commit
25cc087b1d
17 changed files with 741 additions and 0 deletions
23
lib/devshellModule.nix
Normal file
23
lib/devshellModule.nix
Normal 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"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue