omniflake/system/default.nix
2026-01-16 13:17:45 +01:00

50 lines
858 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;
openssh.settings.PermitRootLogin = "no";
};
system.stateVersion = "22.11";
}