Files
nixos-config/hosts/server/settings.nix
2024-11-01 04:42:43 -04:00

38 lines
643 B
Nix

{
pkgs,
username,
...
}: {
system.stateVersion = "24.05";
nixpkgs.config.allowUnfree = true;
nix = {
settings = {
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
substituters = ["https://nix-gaming.cachix.org"];
};
};
networking = {
networkmanager.enable = true;
hostName = "xenon";
firewall = {
enable = true;
};
};
environment = {
variables = {
PATH = "${pkgs.clang-tools}/bin:$PATH";
};
shells = with pkgs; [
zsh
bash
];
};
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
}