feat(nix): Configure nix/nix.conf

This commit is contained in:
Ahmad Ansori Palembani 2024-10-20 07:33:45 +07:00
parent 624f9da761
commit ed98099bf9
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 20 additions and 5 deletions

View file

@ -6,10 +6,19 @@
# NOTE: List packages installed in system profile. To search by name, run:
# `nix-env -qaP | grep wget`
environment.systemPackages =
common.packages ++ [
pkgs.zoxide
];
environment = {
etc = {
"nix/nix.conf".text =
''
experimental-features = nix-command flakes
build-users-group = nixbld
'';
};
systemPackages =
common.packages ++ [
pkgs.zoxide
];
};
nixpkgs.hostPlatform = pkgs.system;
};

View file

@ -5,5 +5,11 @@
username = "ziro";
};
home.stateVersion = "24.05";
xdg.configFile = {
"nix/nix.conf".text = ''
experimental-features = nix-command flakes
'';
};
home.stateVersion = "24.11";
}