Nix : Move config to extraOptions.

This commit is contained in:
Dmitry Voronin 2024-03-01 18:24:37 +03:00
parent 0a041a3789
commit 35a604609a
4 changed files with 1 additions and 6 deletions

View file

@ -2,5 +2,5 @@
environment.variables.NIXPKGS_ALLOW_UNFREE = "1"; environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.etc.nixuser.source = ./nix; nix.extraOptions = "experimental-features = nix-command flakes";
} }

View file

@ -1 +0,0 @@
experimental-features = nix-command flakes

View file

@ -1 +0,0 @@
/etc/nixuser

3
.gitignore vendored
View file

@ -66,9 +66,6 @@
!/.config/linux/ !/.config/linux/
!/.config/linux/** !/.config/linux/**
# Nix.
!/.config/nix
# Gtk. # Gtk.
!/.config/gtk-3.0 !/.config/gtk-3.0
!/.config/gtk-4.0 !/.config/gtk-4.0