enable flakes on workstation

This commit is contained in:
Geir Okkenhaug Jerstad 2024-08-19 10:00:55 +02:00
parent 2538d3722b
commit 35dad5550d
2 changed files with 7 additions and 1 deletions

View file

@ -95,7 +95,7 @@
pulse.enable = true; pulse.enable = true;
}; };
# Enble flakes and other experimental features # Enable flakes and other experimental features
nix = { nix = {
extraOptions = "experimental-features = nix-command flakes"; extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixFlakes; package = pkgs.nixFlakes;

View file

@ -82,6 +82,12 @@
# Emacs # Emacs
services.emacs.enable = true; services.emacs.enable = true;
# Enable flakes and other experimental features
nix = {
extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixFlakes;
};
# Sway # Sway
programs.sway = { programs.sway = {
enable = true; enable = true;