This commit is contained in:
iFargle 2024-02-05 22:17:51 +09:00
parent 4db8bdf443
commit e44a8fd148
3 changed files with 1 additions and 11 deletions

View file

@ -31,8 +31,3 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKLHGSk3WffS/mrSeehcM4O9eBx5cp7IMNYc842xprr3
# (Fri Feb 02 08:17:00 AM JST 2024) Pixel 8
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBui9k0ByK4ldcfJCTaEyoQoltcZ3w07B/5WBxvz7Nzd Pixel 8
# (Sat Feb 3 11:06:06 JST 2024) albert@nixos-framework
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJenZ2+ytld6geSAYw9+/xcomdJTwgAYCqYKst0s0s9H albert@nixos-framework
# (Sat Feb 3 11:24:23 AM JST 2024) albert@nixos-framework
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID4YDdeli3wF0a+ZMoSBTcOwWuhw+SeMilhGRDg5CJ+S albert@nixos-framework

View file

@ -8,7 +8,6 @@
# ../../common/modules/secureboot.nix
../../common/modules/boot.nix
../../common/modules/udev-rules.nix
# ../../common/modules/ssh-luks.nix
../../common/services/podman.nix
# ../../common/services/tlp.nix
];

View file

@ -3,10 +3,6 @@
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";
boot.initrd.secrets = {
# Create /mnt/etc/secrets/initrd directory and copy keys to it
"swap.key" = "/etc/secrets/initrd/swap.key";
};
disko.devices.disk.nvme0 = {
device = "/dev/nvme0n1";
@ -78,7 +74,7 @@
type = "luks";
name = "SWAP";
settings = {
keyFile = "/swap.key";
keyFile = "/mnt-root/etc/swap.key";
allowDiscards = true;
}; # content
content = {