33 lines
732 B
Nix
33 lines
732 B
Nix
{ config, pkgs, lib, name, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/common.nix
|
|
../../modules/forgejo.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 ];
|
|
|
|
services.flowback = {
|
|
forgejoHost = "git-staging.devops.com.se";
|
|
};
|
|
|
|
users.users.elifa = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGI1L2SZzAfxkdHPsgJe0cx9s0owlMPyS6LnAURzXyad eli@wsl"
|
|
];
|
|
};
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|