server setup?

This commit is contained in:
Till 2024-11-20 16:05:27 +01:00
parent 3a24e4beec
commit e5c2b86918
2 changed files with 55 additions and 1 deletions

40
system/server.nix Normal file
View file

@ -0,0 +1,40 @@
{ config, pkgs, ... }:
{
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
gc.automatic = true;
gc.dates = "weekly";
optimise.automatic = true;
};
time.timeZone = "Europe/Berlin";
users.users.till = {
isNormalUser = true;
description = "Till";
extraGroups = [
"wheel"
];
};
environment.systemPackages = with pkgs; [
dig.dnsutils
file
git
htop
killall
neovim
pwgen
tree
unzip
wget
];
services = {
ntp.enable = true;
openssh.enable = true;
};
system.stateVersion = "22.11";
}