Compare commits
3
Commits
029d11db9c
...
f4505aa80e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4505aa80e | ||
|
|
4f526494c3 | ||
|
|
4f0bbb8d5e |
No files matched your search
@@ -5,6 +5,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
|
||||
console.keyMap = "de";
|
||||
|
||||
imports =
|
||||
@@ -19,6 +23,7 @@
|
||||
modules/root-programs.nix
|
||||
modules/smb.nix
|
||||
modules/tailscale.nix
|
||||
modules/veracrypt.nix
|
||||
|
||||
#Server
|
||||
modules/nextcloud.nix
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
#coding
|
||||
python3
|
||||
|
||||
#network
|
||||
dig
|
||||
#network
|
||||
dig
|
||||
|
||||
#lets encrypt
|
||||
lego
|
||||
#lets encrypt
|
||||
lego
|
||||
];
|
||||
}
|
||||
@@ -18,6 +18,19 @@
|
||||
securityType = "user";
|
||||
|
||||
extraConfig = ''
|
||||
|
||||
# Server-seitige SMB-Signatur erzwingen
|
||||
server signing = mandatory
|
||||
client signing = mandatory
|
||||
|
||||
# Aktiviert die Unterstützung für SMB2 und SMB3
|
||||
server min protocol = SMB2
|
||||
server max protocol = SMB3
|
||||
|
||||
# Erlaubt sichere Negotation von Verbindungen
|
||||
client min protocol = SMB2
|
||||
client max protocol = SMB3
|
||||
|
||||
workgroup = WORKGROUP
|
||||
server string = BFDS
|
||||
netbios name = BFDS
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg)
|
||||
[
|
||||
"veracrypt"
|
||||
];
|
||||
|
||||
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.veracrypt
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user