adding flake

This commit is contained in:
revol-xut 2022-03-04 16:40:11 +01:00
parent c93fa389b1
commit d6dacdc7f1
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07

21
flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-21.11;
sops-nix.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
let
overlays = [
];
in {
nixosConfigurations.brine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/birne/configuration.nix
( _: { nixpkgs.overlays = overlays; } )
];
};
};
}