flowback-infra/hosts/staging/configuration.nix

28 lines
625 B
Nix

{ config, pkgs, lib, name, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/common.nix
];
networking.hostName = name;
time.timeZone = "Europe/Stockholm";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
users.users.elifa = {
isNormalUser = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGI1L2SZzAfxkdHPsgJe0cx9s0owlMPyS6LnAURzXyad eli@wsl"
];
};
security.sudo.wheelNeedsPassword = false;
system.stateVersion = "25.11";
}