2024-09-05 22:22:18 +02:00
|
|
|
{lib, config, pkgs, ...}: {
|
2024-09-06 02:47:41 +02:00
|
|
|
imports = [
|
|
|
|
../modules/sops
|
|
|
|
];
|
2024-09-05 22:22:18 +02:00
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-09-06 05:01:21 +02:00
|
|
|
nix.package = config.pkgsInstances.unstable.lix;
|
2024-09-05 22:22:18 +02:00
|
|
|
environment.variables.EDITOR = "vim";
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
X11Forwarding = true;
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
};
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
# Disable password checking for wheel group users so we can solely rely on ssh keys
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
git
|
|
|
|
vim
|
|
|
|
wget
|
|
|
|
curl
|
|
|
|
htop
|
|
|
|
];
|
2024-09-06 02:47:41 +02:00
|
|
|
}
|