enable flakes to support some dev shells more ergonomically

This commit is contained in:
Haak Saxberg 2023-01-23 21:27:34 -08:00
parent a55e5da509
commit 104222ae68
2 changed files with 4 additions and 1 deletions

View file

@ -29,7 +29,7 @@ let
]; ];
in in
{ {
imports = [ (import ./commandline.nix) (import ./programs/alacritty)]; imports = [ (import ./commandline.nix) (import ./programs/alacritty) ];
nixpkgs.overlays = [ (import ../overlays/paperwm.nix) ]; nixpkgs.overlays = [ (import ../overlays/paperwm.nix) ];

View file

@ -12,6 +12,9 @@
../common/users.nix ../common/users.nix
]; ];
# enable nix-flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
# do not fill the bootloader space with generations until it pops; only keep # do not fill the bootloader space with generations until it pops; only keep