diff options
| author | Kumar Damani <me@kumardamani.net> | 2024-07-13 01:22:35 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2024-07-13 01:22:35 +0000 |
| commit | 577dea975275ade403982a8ff17cf73e7cc129cf (patch) | |
| tree | 32022a6ff1bc55901d25ec58129b2b25e4612930 /flake.nix | |
| parent | 3e5e4d5a88edec1ceb0544baa3e41321dc3e26db (diff) | |
added flake. updated docs, deploy script. updated cv.
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. + ''; + }; + }; + }; +} |
