first commit

This commit is contained in:
Frost-Phoenix 2023-11-05 11:40:44 +01:00
commit 58a3f28118
72 changed files with 3082 additions and 0 deletions

37
modules/core/system.nix Normal file
View file

@ -0,0 +1,37 @@
{ 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";
}