add tpm2 support
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
joplin-desktop
|
joplin-desktop
|
||||||
qbittorrent
|
qbittorrent
|
||||||
kdePackages.kate
|
kdePackages.kate
|
||||||
jellyfin-desktop
|
|
||||||
flatpak
|
flatpak
|
||||||
grayjay
|
grayjay
|
||||||
vscode.fhs
|
vscode.fhs
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
programs.ssh = {
|
||||||
|
startAgent = true;
|
||||||
|
agentPKCS11Whitelist = "${config.security.tpm2.pkcs11.package}/lib/*,/run/current-system/sw/lib/*";
|
||||||
|
};
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = true;
|
settings.PasswordAuthentication = true;
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
sudo.execWheelOnly = true;
|
sudo.execWheelOnly = true;
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
protectKernelImage = true;
|
protectKernelImage = true;
|
||||||
|
tpm = {
|
||||||
|
enable = true;
|
||||||
|
pkcs11.enable = true;
|
||||||
|
tctiEnvironment.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
users.users.juliet = {
|
users.users.juliet = {
|
||||||
description = "Juliet";
|
description = "Juliet";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "audio" "video" "bluetooth" "wheel" "input" "networkmanager" "scanner" "lp" ];
|
extraGroups = [ "audio" "video" "bluetooth" "wheel" "input" "networkmanager" "scanner" "lp" "tss" ];
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
linger = true;
|
linger = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,11 +2,12 @@
|
|||||||
users.users.k3t = {
|
users.users.k3t = {
|
||||||
description = "Kai Moore";
|
description = "Kai Moore";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "audio" "video" "bluetooth" "wheel" "input" "networkmanager" "scanner" "lp" ];
|
extraGroups = [ "audio" "video" "bluetooth" "wheel" "input" "networkmanager" "scanner" "lp" "tss" ];
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
linger = true;
|
linger = true;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6evv6KcTvFDp4EeO9mMAa2Pb7yYZ/uTNM6TrVt5nKc k3t@DESKTOP-GTFSBKP" # TBB Win10
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6evv6KcTvFDp4EeO9mMAa2Pb7yYZ/uTNM6TrVt5nKc k3t@TheBlackBox" # TBB
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1DAk3isgJPJbo19Kto6EnZdDMIe6F6D/BLyhhQPmBd k3t@T14" # T14
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user