fix nextcloud restic premissions
This commit is contained in:
parent
151fc7a8ab
commit
5207af59d0
3 changed files with 38 additions and 1 deletions
33
home/root.nix
Normal file
33
home/root.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
# pkgs,
|
||||
# config,
|
||||
# lib,
|
||||
...
|
||||
}: {
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "root";
|
||||
home.homeDirectory = "/root";
|
||||
programs = {
|
||||
ssh = {
|
||||
addKeysToAgent = "yes";
|
||||
enable = true;
|
||||
matchBlocks."*".identityFile = [
|
||||
"/root/.ssh/tulpan"
|
||||
];
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "24.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue