unison over vpn
This commit is contained in:
parent
aca4caf02c
commit
07eb62fc87
4 changed files with 25 additions and 3 deletions
|
|
@ -37,11 +37,11 @@ in
|
||||||
pairs = {
|
pairs = {
|
||||||
"docs".roots = [
|
"docs".roots = [
|
||||||
"/home/hd/Documents"
|
"/home/hd/Documents"
|
||||||
"ssh://roam//home/hd/Documents"
|
"ssh://roam.lan//home/hd/Documents"
|
||||||
];
|
];
|
||||||
"desktop".roots = [
|
"desktop".roots = [
|
||||||
"/home/hd/Desktop"
|
"/home/hd/Desktop"
|
||||||
"ssh://roam//home/hd/Desktop"
|
"ssh://roam.lan//home/hd/Desktop"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -198,6 +198,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1759994382,
|
||||||
|
"narHash": "sha256-wSK+3UkalDZRVHGCRikZ//CyZUJWDJkBDTQX1+G77Ow=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "5da4a26309e796daa7ffca72df93dbe53b8164c7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
|
@ -207,6 +223,7 @@
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"vscode-extensions": "vscode-extensions"
|
"vscode-extensions": "vscode-extensions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
colmena = {
|
colmena = {
|
||||||
url = "github:zhaofengli/colmena";
|
url = "github:zhaofengli/colmena";
|
||||||
|
|
@ -38,14 +39,16 @@
|
||||||
home-manager,
|
home-manager,
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
nixpkgs-stable,
|
||||||
vscode-extensions,
|
vscode-extensions,
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
lib' = import ./lib.nix { inherit lib; };
|
lib' = import ./lib.nix { inherit lib; };
|
||||||
|
pkgs-stable = import nixpkgs-stable { system = "x86_64-linux"; };
|
||||||
|
|
||||||
specialArgs = rec {
|
specialArgs = rec {
|
||||||
inherit inputs lib';
|
inherit inputs lib' pkgs-stable;
|
||||||
var = import ./var { inherit lib; };
|
var = import ./var { inherit lib; };
|
||||||
secrets = lib'.walk-dir ./secrets;
|
secrets = lib'.walk-dir ./secrets;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
pkgs-stable,
|
||||||
config,
|
config,
|
||||||
secrets,
|
secrets,
|
||||||
...
|
...
|
||||||
|
|
@ -17,6 +18,7 @@
|
||||||
|
|
||||||
services.firefox-syncserver = {
|
services.firefox-syncserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs-stable.syncstorage-rs;
|
||||||
secrets = config.age.secrets.roam-firefox-sync-secret.path;
|
secrets = config.age.secrets.roam-firefox-sync-secret.path;
|
||||||
singleNode = {
|
singleNode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue