feat(homes/rafiq): persist ssh key between reboots
This commit is contained in:
parent
3c9ea603c4
commit
b63a7bad99
3 changed files with 10 additions and 1 deletions
|
@ -19,5 +19,8 @@
|
|||
disko.nixosModules.disko
|
||||
impermanence.nixosModules.impermanence
|
||||
];
|
||||
homes.modules = with inputs; [
|
||||
impermanence.homeManagerModules.impermanence
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,5 +16,10 @@
|
|||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home.persistence."/persist/home/rafiq" = {
|
||||
directories = [
|
||||
".ssh"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -75,6 +75,7 @@ in
|
|||
btrfs subvolume create /btrfs_tmp/root
|
||||
umount /btrfs_tmp
|
||||
'';
|
||||
programs.fuse.userAllowOther = true;
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue