46 lines
789 B
Nix
46 lines
789 B
Nix
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
../../users/yuri
|
||
|
];
|
||
|
|
||
|
time.timeZone = "Europe/Berlin";
|
||
|
|
||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||
|
console = {
|
||
|
keyMap = "de-latin1";
|
||
|
};
|
||
|
|
||
|
security.sudo.wheelNeedsPassword = false;
|
||
|
|
||
|
nix.settings = {
|
||
|
trusted-users = [ "@wheel" ];
|
||
|
auto-optimise-store = true;
|
||
|
experimental-features = [ "nix-command" "flakes" ];
|
||
|
};
|
||
|
|
||
|
nix.gc = {
|
||
|
automatic = true;
|
||
|
dates = "weekly";
|
||
|
options = "--delete-older-than 30d";
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
htop
|
||
|
parted
|
||
|
tmux
|
||
|
nano
|
||
|
];
|
||
|
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
PasswordAuthentication = false;
|
||
|
KbdInteractiveAuthentication = false;
|
||
|
PermitRootLogin = "no";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services.fstrim.enable = true;
|
||
|
}
|