nixos/systems/gerg-desktop/erase-your-darlings.nix
Gerg-L 0d2e560191 switch to using specialArgs for inputs
made dummy option for deadnix to shutup about disko

update flake.lock

stopped using neovim overlay
2023-05-17 22:35:48 -04:00

18 lines
661 B
Nix

{lib, ...}: {
systemd.tmpfiles.rules = [
"d /mnt - - - - -"
"L+ /etc/ssh/ssh_host_ed25519_key - - - - /persist/ssh/ssh_host_ed25519_key"
"L+ /etc/ssh/ssh_host_ed25519_key.pub - - - - /persist/ssh/ssh_host_ed25519_key.pub"
"L+ /etc/nixos - - - - /persist/nixos"
];
boot.initrd.postDeviceCommands = lib.mkAfter ''
zfs rollback -r rpool/root@empty
zfs rollback -r rpool/var@empty
'';
#make sure the sopskey is found
sops.age.sshKeyPaths = lib.mkForce ["/persist/ssh/ssh_host_ed25519_key"];
fileSystems."/persist".neededForBoot = true;
environment.etc = {
"machine-id".text = "b6431c2851094770b614a9cfa78fb6ea";
};
}