1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Fix hardware uuids

This commit is contained in:
Stefan Ellmauthaler 2022-05-31 17:23:04 +02:00
parent 12b4c4c013
commit 13540927b4
Failed to extract signature
3 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,5 @@
keys: keys:
- &stefan_ellmauthaler 3B39 8B08 6C41 0264 A14F 3B53 B1E6 F030 30A4 AEAA - &stefan_ellmauthaler 3B398B086C410264A14F3B53B1E6F03030A4AEAA
creation_rules: creation_rules:
- path_regex: secrets/[^/]+\.yaml$ - path_regex: secrets/[^/]+\.yaml$
key_groups: key_groups:

View File

@ -21,7 +21,7 @@
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/9c84f143-023d-4fcb-a49c-ca78ce69e0e0"; boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/9c84f143-023d-4fcb-a49c-ca78ce69e0e0";
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4824-2CFD"; { device = "/dev/disk/by-uuid/39E0-047B";
fsType = "vfat"; fsType = "vfat";
}; };

View File

@ -9,9 +9,6 @@ with lib; {
mkIf cfg.enable { mkIf cfg.enable {
sops = { sops = {
defaultSopsFile = ../secrets/secrets.yaml; defaultSopsFile = ../secrets/secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
age.keyFile = "/var/lib/sops-nix/key.txt";
age.generateKey = true;
gnupg.sshKeyPaths = [ gnupg.sshKeyPaths = [
../secrets/keys/users ../secrets/keys/users
../secrets/keys/hosts ../secrets/keys/hosts