Skip to content

Commit

Permalink
feat: add hive template
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 18, 2023
1 parent 352b2d9 commit d22bf94
Show file tree
Hide file tree
Showing 88 changed files with 2,220 additions and 20 deletions.
21 changes: 15 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,21 @@

inherit lib;

templates.default = {
path = ./templates/nixos;
description = "Omnibus & nixos";
welcomeText = ''
You have created an Omnibus.nixos template!
'';
templates = {
nixos = {
path = ./templates/nixos;
description = "Omnibus & nixos";
welcomeText = ''
You have created an Omnibus.nixos template!
'';
};
hivebus = {
path = ./templates/hivebus;
description = "Omnibus & hive";
welcomeText = ''
You have created an hivebus template!
'';
};
};
}
;
Expand Down
10 changes: 10 additions & 0 deletions templates/hivebus/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Disable the automatic menu displaying on every environment reload.
# export DEVSHELL_NO_MOTD=1
watch_file flakes.nix flake.lock
watch_file ./nix/hive/flake.nix ./nix/hive/flake.lock
# shellcheck disable=SC1090
source "$(fetchurl "https://raw.githubusercontent.com/gtrunsec/direnv/main/lib" "sha256-tuMA8WGkwcYq9V3MtlN6xdVvKd2YkdEpdK4ZyAN6VDM=")"

registry="$PRJ_ROOT/nix/hive#__std"

use envreload //repo/shells/default
Loading

0 comments on commit d22bf94

Please sign in to comment.