diff options
| author | Kumar Damani <me@kumardamani.net> | 2024-08-14 19:52:52 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2024-08-14 19:52:52 +0000 |
| commit | 61116d82dd381741c91497ea2b51c2f3ad211e93 (patch) | |
| tree | 3fa73f68385e8914a1bfebd1fe590873b543c41b /flake.nix | |
| parent | 5ae7c22764530f84359a3414ced331c9cd08a17e (diff) | |
moving stuff around
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..0a5a069 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "My website project"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + devenv.url = "github:cachix/devenv"; + }; + + outputs = inputs@{ flake-parts, nixpkgs, ... }: + flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + inputs.devenv.flakeModule + ]; + systems = nixpkgs.lib.systems.flakeExposed; + perSystem = { config, self', inputs', pkgs, system, ... }: { + devenv.shells.website = { + packages = [ pkgs.hugo pkgs.awscli ]; + enterShell = '' + echo this is my hugo website project shell. + ''; + }; + }; + }; +} |
