nixos-config/modules/core/system.nix
Frost-Phoenix c5b5358f84 test
2023-11-05 18:15:01 +01:00

34 lines
803 B
Nix

{ self, pkgs, lib, inputs, ...}:
{
# imports = [ inputs.nix-gaming.nixosModules.default ];
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
nixpkgs = {
overlays = [
self.overlays.default
inputs.nur.overlay
];
};
environment.systemPackages = with pkgs; [
wget
git
];
time.timeZone = "Europe/Paris";
i18n.defaultLocale = "en_US.UTF-8";
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.05";
}