nixos-config/configurations/nix-store.nix
Charlotte Van Petegem 9f79655dcc nixUnstable is fixed
2020-07-24 10:47:50 +02:00

31 lines
592 B
Nix

{ pkgs, ... }:
{
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
gc = {
automatic = true;
dates = "hourly";
options = "--delete-older-than 7d";
};
optimise = {
automatic = true;
dates = [ "hourly" ];
};
trustedUsers = [ "@wheel" ];
};
nixpkgs.overlays = [
(self: super: {
nix = super.nixUnstable;
})
];
nixpkgs.config = import ./nix-store/config.nix;
home-manager.users.charlotte = { ... }: {
xdg.configFile."nixpkgs/config.nix".source = ./nix-store/config.nix;
};
}