feat: migrate to nix flake

This commit is contained in:
Felix Schröter 2020-09-23 10:36:46 +02:00
parent d466f7e800
commit 80d4bb746e
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
12 changed files with 214 additions and 56 deletions

View file

@ -1,6 +1,12 @@
{ config, pkgs, ... }:
{
# for flakes support
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
nix.autoOptimiseStore = true;
nix.gc = {
automatic = true;