Begin add flake with sops

This commit is contained in:
Florian RICHER 2024-07-14 14:57:41 +02:00
parent d687aaac04
commit 88332b2401
5 changed files with 90 additions and 1 deletions

24
flake.nix Normal file
View file

@ -0,0 +1,24 @@
{
description = "Portfolio rust configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells = {
default = pkgs.mkShell {
buildInputs = [
pkgs.ansible
pkgs.sops
];
};
};
});
}