Compare commits
3
Commits
029d11db9c
...
f4505aa80e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4505aa80e | ||
|
|
4f526494c3 | ||
|
|
4f0bbb8d5e |
No files matched your search
@@ -5,6 +5,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
system.autoUpgrade.enable = true;
|
||||||
|
system.autoUpgrade.allowReboot = true;
|
||||||
|
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
@@ -19,6 +23,7 @@
|
|||||||
modules/root-programs.nix
|
modules/root-programs.nix
|
||||||
modules/smb.nix
|
modules/smb.nix
|
||||||
modules/tailscale.nix
|
modules/tailscale.nix
|
||||||
|
modules/veracrypt.nix
|
||||||
|
|
||||||
#Server
|
#Server
|
||||||
modules/nextcloud.nix
|
modules/nextcloud.nix
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
#coding
|
#coding
|
||||||
python3
|
python3
|
||||||
|
|
||||||
#network
|
#network
|
||||||
dig
|
dig
|
||||||
|
|
||||||
#lets encrypt
|
#lets encrypt
|
||||||
lego
|
lego
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -18,6 +18,19 @@
|
|||||||
securityType = "user";
|
securityType = "user";
|
||||||
|
|
||||||
extraConfig = ''
|
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
|
workgroup = WORKGROUP
|
||||||
server string = BFDS
|
server string = BFDS
|
||||||
netbios name = 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