correct alias
This commit is contained in:
parent
5144d0b3b2
commit
22f26bfaa7
|
@ -2,6 +2,7 @@
|
||||||
let
|
let
|
||||||
password_file = "/home/${custom.username}/.nixos/secrets/passwords/restic.key";
|
password_file = "/home/${custom.username}/.nixos/secrets/passwords/restic.key";
|
||||||
repository = "rest:http://10.7.89.30:8000";
|
repository = "rest:http://10.7.89.30:8000";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
|
@ -44,9 +45,9 @@ let
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
restic-list = ''
|
restic-list = ''
|
||||||
restic \
|
restic \
|
||||||
--repo ${repository}} \
|
--repo ${repository} \
|
||||||
--passord-file ${password_file} \
|
--password-file ${password_file} \
|
||||||
snapshots --host ${config.network.hostName}
|
snapshots --host ${config.networking.hostName}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user