nixos-config/hosts/vulpecula/configuration.nix

45 lines
801 B
Nix
Raw Normal View History

2024-09-05 20:49:12 +02:00
{
pkgs,
lib,
inputs,
...
}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
imports = [
./hardware-configuration.nix
../../common/base.nix
];
networking = {
hostName = "vulpecula";
firewall = {
allowedTCPPorts = [
# 2342
# 8080 # ?
# 9000
# 9002
];
};
};
# nix.settings.trusted-users = ["root" "@wheel"]; # TODO
users.users.tasia = {
isNormalUser = true;
description = "Tasia";
extraGroups = ["networkmanager" "wheel"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
sshKeys.tasia.yaseen
];
};
environment.systemPackages = with pkgs; [
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
}