From 31c316d19cd974bb81a5d6de62142ff24db1c78e Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 2 Sep 2025 10:48:21 -0400 Subject: reorganized directory structure --- .../shells/nushell/direnv-project-template/.envrc | 1 + .../nushell/direnv-project-template/.gitignore | 1 + .../nushell/direnv-project-template/flake.nix | 29 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 home-manager/features/cli/shells/nushell/direnv-project-template/.envrc create mode 100644 home-manager/features/cli/shells/nushell/direnv-project-template/.gitignore create mode 100644 home-manager/features/cli/shells/nushell/direnv-project-template/flake.nix (limited to 'home-manager/features/cli/shells/nushell/direnv-project-template') diff --git a/home-manager/features/cli/shells/nushell/direnv-project-template/.envrc b/home-manager/features/cli/shells/nushell/direnv-project-template/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/home-manager/features/cli/shells/nushell/direnv-project-template/.envrc @@ -0,0 +1 @@ +use flake diff --git a/home-manager/features/cli/shells/nushell/direnv-project-template/.gitignore b/home-manager/features/cli/shells/nushell/direnv-project-template/.gitignore new file mode 100644 index 0000000..92b2793 --- /dev/null +++ b/home-manager/features/cli/shells/nushell/direnv-project-template/.gitignore @@ -0,0 +1 @@ +.direnv diff --git a/home-manager/features/cli/shells/nushell/direnv-project-template/flake.nix b/home-manager/features/cli/shells/nushell/direnv-project-template/flake.nix new file mode 100644 index 0000000..4bab14a --- /dev/null +++ b/home-manager/features/cli/shells/nushell/direnv-project-template/flake.nix @@ -0,0 +1,29 @@ +{ + description = "Project flake"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + systems.url = "github:nix-systems/default"; + flake-utils = { + url = "github:numtide/flake-utils"; + inputs.systems.follows = "systems"; + }; + }; + + outputs = { + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachDefaultSystem ( + system: let + pkgs = nixpkgs.legacyPackages.${system}; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + hello + ]; + }; + } + ); +} -- cgit v1.2.3