users/infinidoge: setup unison
This commit is contained in:
parent
8ca1c0249b
commit
9c4716a992
1 changed files with 19 additions and 0 deletions
|
@ -38,12 +38,30 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.unison = {
|
||||||
|
enable = true;
|
||||||
|
pairs = {
|
||||||
|
"PrismLauncher" = mkIf (main.networking.hostName != "Infini-DL360") {
|
||||||
|
roots = [
|
||||||
|
"/home/infinidoge/.local/share/PrismLauncher"
|
||||||
|
"ssh://inx.moe/sync/PrismLauncher"
|
||||||
|
];
|
||||||
|
commandOptions = {
|
||||||
|
ignore = [
|
||||||
|
"BelowPath cache"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
KEYID = "0x30E7A4C03348641E";
|
KEYID = "0x30E7A4C03348641E";
|
||||||
POP_SMTP_HOST = common.email.smtp.address;
|
POP_SMTP_HOST = common.email.smtp.address;
|
||||||
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
||||||
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
||||||
POP_SMTP_PASSWORD = "$(cat ${secrets.smtp-personal})";
|
POP_SMTP_PASSWORD = "$(cat ${secrets.smtp-personal})";
|
||||||
|
UNISON = "$HOME/.local/state/unison";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages =
|
home.packages =
|
||||||
|
@ -55,6 +73,7 @@ in
|
||||||
ncdu
|
ncdu
|
||||||
peaclock
|
peaclock
|
||||||
pop
|
pop
|
||||||
|
unison
|
||||||
|
|
||||||
(lib.optionals (!main.universe.minimal.enable) [
|
(lib.optionals (!main.universe.minimal.enable) [
|
||||||
packwiz
|
packwiz
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue