configuration: nix: enable nix flakes

This commit is contained in:
Bruno BELANYI 2021-02-05 16:11:06 +01:00
parent bfba8c005c
commit d79538e1ab
1 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,13 @@
./services
];
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;