nya
This commit is contained in:
parent
05de7968de
commit
27e4b260b6
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue