45 lines
801 B
Nix
45 lines
801 B
Nix
{
|
|
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";
|
|
}
|