From 67cfcb14483e5d98f868b195a8417b7f2b6e410a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 14 May 2021 00:21:13 +0200 Subject: add flake --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1eb9df5 --- /dev/null +++ b/flake.nix @@ -0,0 +1,9 @@ +{ + inputs.nixpkgs.url = "nixpkgs/nixos-20.09"; + outputs = { self, nixpkgs }: + with import nixpkgs { system = "x86_64-linux"; }; + { + defaultPackage.x86_64-linux = callPackage ./. {}; + nixosModule = { config, ... }: { imports = [ ./module.nix ]; }; + }; +} -- cgit v1.2.1