dotfiles/nix/nixos/modules/nix-flakes.nix
2021-02-28 18:14:01 +01:00

13 lines
251 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, ... }:
{
nix = let
nix = nixpkgs-master.nixFlakes;
in {
package = nix;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}