Started work on server configuration

This commit is contained in:
pagedmov
2024-10-31 17:20:38 -04:00
parent 4c5a5927c1
commit 244595baa3
4 changed files with 62 additions and 0 deletions

31
hosts/server/settings.nix Normal file
View File

@@ -0,0 +1,31 @@
{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"];
};
};
environment = {
variables = {
PATH = "${pkgs.clang-tools}/bin:$PATH";
};
shells = with pkgs; [
zsh
bash
];
};
users.users."${username}" = {
shell = pkgs.zsh;
isNormalUser = true;
extraGroup = [ "wheel" ];
initialPassword = "1111";
};
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
}