Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
APic
nixos-deployment
Commits
26d26610
Commit
26d26610
authored
Feb 26, 2022
by
fpletz
🚧
Browse files
disable ssh password auth, refactor
parent
bfdfb77b
Changes
3
Hide whitespace changes
Inline
Side-by-side
loungepi.nix
View file @
26d26610
...
...
@@ -53,6 +53,9 @@
programs
.
vim
.
defaultEditor
=
true
;
environment
.
sessionVariables
.
PAN_MESA_DEBUG
=
"gl3"
;
# FIXME
services
.
openssh
.
passwordAuthentication
=
true
;
users
=
{
mutableUsers
=
false
;
users
.
lounge
=
{
...
...
luftschleuse.nix
View file @
26d26610
...
...
@@ -42,6 +42,8 @@
environment
.
systemPackages
=
with
pkgs
;
[
colmena
lm_sensors
];
services
.
fail2ban
.
enable
=
false
;
users
=
{
mutableUsers
=
false
;
users
.
root
.
openssh
.
authorizedKeys
.
keys
=
[
...
...
modules/default.nix
View file @
26d26610
...
...
@@ -23,11 +23,14 @@
services
.
journald
.
extraConfig
=
''
SystemMaxUse=200M
MaxRetentionSec=
5
d
MaxRetentionSec=
3
d
''
;
services
.
openssh
.
enable
=
true
;
services
.
fail2ban
.
enable
=
true
;
services
.
openssh
=
{
enable
=
true
;
passwordAuthentication
=
lib
.
mkDefault
false
;
};
services
.
fail2ban
.
enable
=
lib
.
mkDefault
true
;
services
.
nginx
=
{
package
=
pkgs
.
nginxMainline
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment