add support for flakes in nixos config

This commit is contained in:
Alexander Navarro 2023-07-27 10:35:15 -04:00
parent bc5d182e1e
commit 4efdcd4e60
2 changed files with 32 additions and 0 deletions

View file

@ -10,6 +10,9 @@
./hardware-configuration.nix
];
# Enable Flakes and the new command-line tool
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;