server setup?
This commit is contained in:
parent
3a24e4beec
commit
e5c2b86918
2 changed files with 55 additions and 1 deletions
40
system/server.nix
Normal file
40
system/server.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue