nixfiles/hosts/nixos-common.nix

40 lines
772 B
Nix
Raw Normal View History

2024-01-08 07:49:51 +03:00
{ abs, pkgs, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = [ "@wheel" ];
# nix.settings.sandbox = false;
time.timeZone = "Europe/Moscow";
i18n.defaultLocale = "en_US.UTF-8";
security.sudo.wheelNeedsPassword = false;
age.identityPaths = [
"/etc/ssh/agenix_key"
];
2024-07-11 13:56:18 +03:00
programs.fish.enable = true;
2024-01-08 07:49:51 +03:00
environment.systemPackages = with pkgs; [
git
micro
wget
pciutils
dnsutils
bridge-utils
screen
];
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
system.stateVersion = "23.05";
}