Compare commits

...

2 commits

Author SHA1 Message Date
8d1b7584f3 Nix: move experimantal options setting tot nix.settings 2024-02-19 11:26:41 +01:00
f4bb46fb28 Nix: auto optimise store 2024-02-19 11:18:32 +01:00
3 changed files with 4 additions and 7 deletions

View file

@ -24,8 +24,6 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nix.settings.auto-optimise-store = true;
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

View file

@ -63,8 +63,6 @@ ACTION=="add", SUBSYSTEM=="i2c", ATTR{name}=="PNP0C50:00", ATTR{power/wakeup}="d
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nix.settings.auto-optimise-store = true;
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

View file

@ -2,9 +2,10 @@
{
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
auto-optimise-store = true;
experimental-features = "nix-command flakes";
};
registry = {
agenix = {
from = { id = "agenix"; type = "indirect"; };