Nix : Move config to extraOptions.
This commit is contained in:
parent
0a041a3789
commit
35a604609a
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
experimental-features = nix-command flakes
|
|
|
@ -1 +0,0 @@
|
||||||
/etc/nixuser
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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
|
||||||
|
|
Reference in a new issue