Compare commits
No commits in common. "3fdb28abef875195b02669ed10200a427846590d" and "84c5dd7422af32623b68f3b14d981b8dfccd3cbe" have entirely different histories.
3fdb28abef
...
84c5dd7422
|
@ -1,5 +0,0 @@
|
||||||
# Nix-Syncthing
|
|
||||||
|
|
||||||
Helper flake for configuring syncthing across multiple systems.
|
|
||||||
|
|
||||||
Check out the `nixosConfigurations` and `syncthingConfiguration` outputs of `flake.nix` as well as the contents of the `example` folder to see how to use it
|
|
|
@ -18,7 +18,6 @@
|
||||||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||||
forEachPkgs = lambda: forEachSystem (system: lambda (pkgsFor system));
|
forEachPkgs = lambda: forEachSystem (system: lambda (pkgsFor system));
|
||||||
in {
|
in {
|
||||||
# development tooling
|
|
||||||
devShells = forEachPkgs (pkgs: {
|
devShells = forEachPkgs (pkgs: {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -32,7 +31,6 @@
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
# library contents
|
|
||||||
nixosModules.default = self.nixosModules.syncthing;
|
nixosModules.default = self.nixosModules.syncthing;
|
||||||
nixosModules.syncthing = import ./lib/nixos-module.nix;
|
nixosModules.syncthing = import ./lib/nixos-module.nix;
|
||||||
|
|
||||||
|
@ -51,7 +49,6 @@
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
# example configuration
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
default = nixpkgs.lib.nixosSystem {
|
default = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit self;};
|
specialArgs = {inherit self;};
|
||||||
|
|
Loading…
Reference in a new issue