47 lines
811 B
Nix
47 lines
811 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
nix = {
|
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
|
gc.automatic = true;
|
|
gc.dates = "weekly";
|
|
optimise.automatic = true;
|
|
};
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
programs.fish.enable = true;
|
|
|
|
users.mutableUsers = true;
|
|
|
|
users.users.till = {
|
|
isNormalUser = true;
|
|
description = "Till";
|
|
extraGroups = [ "wheel" ];
|
|
shell = pkgs.fish;
|
|
openssh.authorizedKeys.keyFiles = [
|
|
./ssh/till${"@"}nova.pub
|
|
];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
dig.dnsutils
|
|
file
|
|
git
|
|
htop
|
|
killall
|
|
neovim
|
|
pwgen
|
|
tree
|
|
unzip
|
|
wget
|
|
];
|
|
|
|
services = {
|
|
ntp.enable = true;
|
|
openssh.enable = true;
|
|
openssh.settings.PasswordAuthentication = false;
|
|
};
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|