hosts: desktop add TPM
This commit is contained in:
parent
c313a73db9
commit
c1ccbc809b
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
users.users.${user} = { # System User
|
users.users.${user} = { # System User
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "video" "audio" "camera" "networkmanager" "lp" "kvm" "libvirtd" "adb" "dialout" ];
|
extraGroups = [ "wheel" "video" "audio" "camera" "networkmanager" "lp" "kvm" "libvirtd" "adb" "dialout" "tss" ];
|
||||||
shell = pkgs.zsh; # Default shell
|
shell = pkgs.zsh; # Default shell
|
||||||
uid = 2000;
|
uid = 2000;
|
||||||
# initialPassword = "password95";
|
# initialPassword = "password95";
|
||||||
@ -31,7 +31,6 @@
|
|||||||
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIB0q++epdX7feQxvmC2m/CJEoJbkqtAJy6Ml6WKHxryZAAAABHNzaDo= kabbone@hades.home.opel-online.de"
|
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIB0q++epdX7feQxvmC2m/CJEoJbkqtAJy6Ml6WKHxryZAAAABHNzaDo= kabbone@hades.home.opel-online.de"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
#security.sudo.wheelNeedsPassword = true; # User does not need to give password when using sudo.
|
|
||||||
|
|
||||||
time.timeZone = "Europe/Berlin"; # Time zone and internationalisation
|
time.timeZone = "Europe/Berlin"; # Time zone and internationalisation
|
||||||
i18n = {
|
i18n = {
|
||||||
@ -47,10 +46,17 @@
|
|||||||
keyMap = "us"; # or us/azerty/etc
|
keyMap = "us"; # or us/azerty/etc
|
||||||
};
|
};
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security = {
|
||||||
security.pki.certificateFiles = [
|
rtkit.enable = true;
|
||||||
|
pki.certificateFiles = [
|
||||||
./rootCA.pem
|
./rootCA.pem
|
||||||
];
|
];
|
||||||
|
tpm2 = {
|
||||||
|
enable = true;
|
||||||
|
pkcs11.enable = true;
|
||||||
|
tctiEnvironment.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sound = { # ALSA sound enable
|
sound = { # ALSA sound enable
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user