This commit is contained in:
Tasia Iso 2024-10-05 11:38:36 +02:00
parent 05de7968de
commit 27e4b260b6
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
3 changed files with 26 additions and 16 deletions

View file

@ -4,14 +4,14 @@
enable = true;
# Randomize MAC for every ethernet connetion
ethernet.macAddress = "random";
connectionConfig = {
# IPv6 Privacy Extensions
"ipv6.ip6-privacy" = 2;
# ethernet.macAddress = "random";
# connectionConfig = {
# # IPv6 Privacy Extensions
# "ipv6.ip6-privacy" = 2;
# unique DUID per connection
"ipv6.dhcp-duid" = "stable-uuid";
};
# # unique DUID per connection
# "ipv6.dhcp-duid" = "stable-uuid";
# };
};
firewall = {

View file

@ -78,12 +78,13 @@
];
# Check whether this is actually doing anything
services.fail2ban = {
enable = true;
ignoreIP = [
#
];
};
# It is, it even bans legit connections.
# services.fail2ban = {
# enable = true;
# ignoreIP = [
# #
# ];
# };
}
# ssh R6: StrictHostKeyChecking ask

View file

@ -42,7 +42,7 @@ in {
users.users.tasia = {
isNormalUser = true;
description = "Tasia";
extraGroups = ["networkmanager" "wheel" "dialout"];
extraGroups = ["networkmanager" "wheel"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
sshKeys.tasia.yaseen
@ -53,8 +53,8 @@ in {
users.users.vulpecula = {
isNormalUser = true;
description = "vulpecula";
extraGroups = ["networkmanager" "wheel" "dialout"];
description = "test acc";
extraGroups = ["networkmanager" "wheel"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
sshKeys.tasia.yubi-primary
@ -62,6 +62,15 @@ in {
];
};
users.users.dedsec = {
isNormalUser = true;
description = "dedsec";
extraGroups = ["networkmanager" "wheel"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
];
};
services.nginx = {
enable = true;
recommendedProxySettings = true;