mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-31 22:53:06 +02:00
fix: macbook do not have a tpm2 device for luks auto unlock
Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
nixos-apple-silicon.nixosModules.default
|
||||
];
|
||||
|
||||
# NOTE:macbook do not have a tpm2 device for luks auto unlock
|
||||
# we have to enter the luks passphrase on boot, so remove login manager here to reduce the pain.
|
||||
services.greetd.settings.default_session.command = lib.mkForce "$HOME/.wayland-session";
|
||||
|
||||
zramSwap.memoryPercent = lib.mkForce 75;
|
||||
|
||||
nix.settings = {
|
||||
|
||||
Reference in New Issue
Block a user