email broken
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, host, ... }:
|
||||
let
|
||||
grub-theme-ascii-diana = (pkgs.fetchFromGitea {
|
||||
domain = "git.nx2.site";
|
||||
@@ -23,13 +23,22 @@
|
||||
fontSize = 50;
|
||||
splashImage = null;
|
||||
|
||||
extraEntries = ''
|
||||
extraEntries = if host == "NxXPS" then ''
|
||||
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-0A97-7A2D' {
|
||||
insmod part_gpt
|
||||
insmod fat
|
||||
search --no-floppy --fs-uuid --set=root 0A97-7A2D
|
||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||
}
|
||||
'' else ''
|
||||
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-8932-4A3D' {
|
||||
insmod part_gpt
|
||||
insmod fat
|
||||
search --no-floppy --label --set=root EFI
|
||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.strongswan
|
||||
pkgs.strongswanNM
|
||||
];
|
||||
|
||||
environment.etc = {
|
||||
@@ -20,6 +20,8 @@
|
||||
"ipsec.d/USERTrust-ECC.pem".source = ../secrets/vpn-hsmw/USERTrust-ECC-Certification-Authority.pem;
|
||||
"ipsec.d/USERTrust-RSA.pem".source = ../secrets/vpn-hsmw/USERTrust-RSA-Certification-Authority.pem;
|
||||
};
|
||||
|
||||
networking.networkmanager.enableStrongSwan = true;
|
||||
|
||||
services.strongswan = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user