nya
This commit is contained in:
parent
05de7968de
commit
27e4b260b6
|
@ -4,14 +4,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Randomize MAC for every ethernet connetion
|
# Randomize MAC for every ethernet connetion
|
||||||
ethernet.macAddress = "random";
|
# ethernet.macAddress = "random";
|
||||||
connectionConfig = {
|
# connectionConfig = {
|
||||||
# IPv6 Privacy Extensions
|
# # IPv6 Privacy Extensions
|
||||||
"ipv6.ip6-privacy" = 2;
|
# "ipv6.ip6-privacy" = 2;
|
||||||
|
|
||||||
# unique DUID per connection
|
# # unique DUID per connection
|
||||||
"ipv6.dhcp-duid" = "stable-uuid";
|
# "ipv6.dhcp-duid" = "stable-uuid";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
|
|
|
@ -78,12 +78,13 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Check whether this is actually doing anything
|
# Check whether this is actually doing anything
|
||||||
services.fail2ban = {
|
# It is, it even bans legit connections.
|
||||||
enable = true;
|
# services.fail2ban = {
|
||||||
ignoreIP = [
|
# enable = true;
|
||||||
#
|
# ignoreIP = [
|
||||||
];
|
# #
|
||||||
};
|
# ];
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
# ssh R6: StrictHostKeyChecking ask
|
# ssh R6: StrictHostKeyChecking ask
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ in {
|
||||||
users.users.tasia = {
|
users.users.tasia = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Tasia";
|
description = "Tasia";
|
||||||
extraGroups = ["networkmanager" "wheel" "dialout"];
|
extraGroups = ["networkmanager" "wheel"];
|
||||||
initialPassword = "correcthorsebatterystaple";
|
initialPassword = "correcthorsebatterystaple";
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
sshKeys.tasia.yaseen
|
sshKeys.tasia.yaseen
|
||||||
|
@ -53,8 +53,8 @@ in {
|
||||||
|
|
||||||
users.users.vulpecula = {
|
users.users.vulpecula = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "vulpecula";
|
description = "test acc";
|
||||||
extraGroups = ["networkmanager" "wheel" "dialout"];
|
extraGroups = ["networkmanager" "wheel"];
|
||||||
initialPassword = "correcthorsebatterystaple";
|
initialPassword = "correcthorsebatterystaple";
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
sshKeys.tasia.yubi-primary
|
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 = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
|
Loading…
Reference in a new issue