From d6dacdc7f19e44774453776920397cc7f6faddbd Mon Sep 17 00:00:00 2001 From: revol-xut Date: Fri, 4 Mar 2022 16:40:11 +0100 Subject: [PATCH] adding flake --- flake.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..7680158 --- /dev/null +++ b/flake.nix @@ -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; } ) + ]; + }; + }; +}