add peerix

This commit is contained in:
2026-03-19 17:55:09 +01:00
parent 2f8ab6e8e9
commit dda547954b
4 changed files with 65 additions and 0 deletions
Generated
+54
View File
@@ -83,6 +83,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1627913399,
"narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
@@ -101,6 +117,21 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_2": {
"locked": {
"lastModified": 1634851050,
"narHash": "sha256-N83GlSGPJJdcqhUxSCS/WwW5pksYf3VP1M13cDRTSVA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c91f3de5adaf1de973b797ef7485e441a65b8935",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -239,6 +270,28 @@
"type": "github" "type": "github"
} }
}, },
"peerix": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1772566807,
"narHash": "sha256-e5Fdb2K0GHPGVj3l+Jn/QIdxaR30WZATmmOb6amaVRA=",
"owner": "sophronesis",
"repo": "peerix",
"rev": "a56a9ff1dd1023bae1d68dfe5d1133822ad6f4ae",
"type": "github"
},
"original": {
"owner": "sophronesis",
"repo": "peerix",
"type": "github"
}
},
"plasma-manager": { "plasma-manager": {
"inputs": { "inputs": {
"home-manager": [ "home-manager": [
@@ -294,6 +347,7 @@
"nix-sweep": "nix-sweep", "nix-sweep": "nix-sweep",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"peerix": "peerix",
"plasma-manager": "plasma-manager" "plasma-manager": "plasma-manager"
} }
}, },
+4
View File
@@ -26,6 +26,10 @@
url = "github:jzbor/nix-sweep/main"; url = "github:jzbor/nix-sweep/main";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
peerix = {
url = "github:sophronesis/peerix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixos-hardware, ... }@inputs: outputs = { self, nixos-hardware, ... }@inputs:
+2
View File
@@ -7,6 +7,7 @@
lanzaboote, lanzaboote,
claude-code, claude-code,
nix-sweep, nix-sweep,
peerix,
... ...
}: }:
hardwareConfig: hostConfig: hardwareConfig: hostConfig:
@@ -29,6 +30,7 @@ nixpkgs.lib.nixosSystem {
hardwareConfig hardwareConfig
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-sweep.nixosModules.default nix-sweep.nixosModules.default
peerix.nixosModules.peerix
../modules ../modules
hostConfig hostConfig
]; ];
+5
View File
@@ -24,4 +24,9 @@ in
gc = true; # Run GC afterwards gc = true; # Run GC afterwards
}; };
services.peerix = {
enable = true;
trackerUrl = null; # Use LAN mode instead of Iroh
};
} }