feat(homes/rafiq): persist ssh key between reboots

This commit is contained in:
Mohammad Rafiq 2025-05-18 16:17:55 +08:00
parent 3c9ea603c4
commit b63a7bad99
3 changed files with 10 additions and 1 deletions

View file

@ -19,5 +19,8 @@
disko.nixosModules.disko
impermanence.nixosModules.impermanence
];
homes.modules = with inputs; [
impermanence.homeManagerModules.impermanence
];
};
}

View file

@ -16,5 +16,10 @@
EDITOR = "nvim";
};
programs.home-manager.enable = true;
home.persistence."/persist/home/rafiq" = {
directories = [
".ssh"
];
allowOther = true;
};
}

View file

@ -75,6 +75,7 @@ in
btrfs subvolume create /btrfs_tmp/root
umount /btrfs_tmp
'';
programs.fuse.userAllowOther = true;
})
]);
}