summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2021-05-14 00:21:13 +0200
committerYves Fischer <yvesf+git@xapek.org>2021-05-14 00:28:31 +0200
commit67cfcb14483e5d98f868b195a8417b7f2b6e410a (patch)
treeaeac273f6ef6870cecb03914d05bbe9dbca4e3a4 /flake.nix
parent1689c8bae86c8f6d347794d9ae0554cfe456f7d7 (diff)
downloadsmtp-forward-master.tar.gz
smtp-forward-master.zip
add flakeHEADmaster
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 9 insertions, 0 deletions
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 ]; };
+ };
+}