Attempting to fix corrupt filesystem

This commit is contained in:
zonsopkomst 2023-09-17 00:01:38 -05:00
parent f11cd25401
commit 3ea2e7ca05
2 changed files with 22 additions and 6 deletions

View File

@ -17,10 +17,15 @@
# Enable grub cryptodisk
boot.loader.grub.enableCryptodisk=true;
boot.initrd.luks.devices."luks-ff9e6bac-c23b-45eb-8429-c15271559dfa".keyFile = "/crypto_keyfile.bin";
boot.initrd.luks.devices."luks-1b17d35e-4c1d-4007-b3bd-461e2e3c45b8".keyFile = "/crypto_keyfile.bin";
# Enable swap on luks
boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".device = "/dev/disk/by-uuid/bfce34cb-65e4-4ba0-939d-e3f0ff903338";
boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".keyFile = "/crypto_keyfile.bin";
boot.initrd.luks.devices."luks-841a0a72-70fc-4ac9-9b04-2d97d536af9c".device = "/dev/disk/by-uuid/841a0a72-70fc-4ac9-9b04-2d97d536af9c";
boot.initrd.luks.devices."luks-841a0a72-70fc-4ac9-9b04-2d97d536af9c".keyFile = "/crypto_keyfile.bin";
# boot.initrd.luks.devices."luks-ff9e6bac-c23b-45eb-8429-c15271559dfa".keyFile = "/crypto_keyfile.bin";
# # Enable swap on luks
# boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".device = "/dev/disk/by-uuid/bfce34cb-65e4-4ba0-939d-e3f0ff903338";
# boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".keyFile = "/crypto_keyfile.bin";
networking.hostName = "frija";

View File

@ -14,16 +14,27 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4a526b94-4676-44d0-b545-2c1a96d08450";
{ device = "/dev/disk/by-uuid/789a8d5e-909a-493b-a312-ac84adefbbfc";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-ff9e6bac-c23b-45eb-8429-c15271559dfa".device = "/dev/disk/by-uuid/ff9e6bac-c23b-45eb-8429-c15271559dfa";
boot.initrd.luks.devices."luks-1b17d35e-4c1d-4007-b3bd-461e2e3c45b8".device = "/dev/disk/by-uuid/1b17d35e-4c1d-4007-b3bd-461e2e3c45b8";
swapDevices =
[ { device = "/dev/disk/by-uuid/b0b3c4a1-5d5c-44e6-8eee-9e3693f25c90"; }
[ { device = "/dev/disk/by-uuid/81417e23-6b1b-4cb8-9b17-123bcc012b26"; }
];
# fileSystems."/" =
# { device = "/dev/disk/by-uuid/4a526b94-4676-44d0-b545-2c1a96d08450";
# fsType = "ext4";
# };
# boot.initrd.luks.devices."luks-ff9e6bac-c23b-45eb-8429-c15271559dfa".device = "/dev/disk/by-uuid/ff9e6bac-c23b-45eb-8429-c15271559dfa";
# swapDevices =
# [ { device = "/dev/disk/by-uuid/b0b3c4a1-5d5c-44e6-8eee-9e3693f25c90"; }
# ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction