summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2021-04-15 20:38:32 +0200
committerYves Fischer <yvesf+git@xapek.org>2021-04-15 20:47:29 +0200
commitd0fa6a32927dfbde4dadf61b0eea49b064855584 (patch)
tree8713b5e377ee9991dfeca288015b77227744e7a1 /flake.nix
parentec601443cfb26a6540f9459a5b741ecfd3c96f11 (diff)
downloadbatteriewarner-d0fa6a32927dfbde4dadf61b0eea49b064855584.tar.gz
batteriewarner-d0fa6a32927dfbde4dadf61b0eea49b064855584.zip
add flake.nix
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..99411cb
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,10 @@
+{
+ 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 ]; };
+ };
+}
+