mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
feat(krops): copy instead of fetching on target
This commit is contained in:
22
flake.nix
22
flake.nix
@@ -64,27 +64,7 @@
|
|||||||
};
|
};
|
||||||
} // nixpkgs.lib.mapAttrs' (name: value: {
|
} // nixpkgs.lib.mapAttrs' (name: value: {
|
||||||
inherit name;
|
inherit name;
|
||||||
value.git = {
|
value.file = toString value;
|
||||||
url = {
|
|
||||||
# having to declare the git upstream urls here is suboptimal, but the inputs don't remember where they're from
|
|
||||||
home-manager = "https://github.com/nix-community/home-manager";
|
|
||||||
menstruation-backend = "https://github.com/kmein/menstruation.rs";
|
|
||||||
menstruation-telegram = "https://github.com/kmein/menstruation-telegram";
|
|
||||||
nix-writers = "https://cgit.krebsco.de/nix-writers";
|
|
||||||
nixpkgs = "https://github.com/NixOS/nixpkgs";
|
|
||||||
nixpkgs-unstable = "https://github.com/NixOS/nixpkgs";
|
|
||||||
recht = "https://github.com/kmein/recht";
|
|
||||||
retiolum = "https://github.com/krebs/retiolum";
|
|
||||||
scripts = "https://github.com/kmein/scripts";
|
|
||||||
stockholm = "https://cgit.lassul.us/stockholm";
|
|
||||||
telebots = "https://github.com/kmein/telebots";
|
|
||||||
tinc-graph = "https://github.com/kmein/tinc-graph";
|
|
||||||
traadfri = "https://github.com/kmein/traadfri";
|
|
||||||
tuna = "https://github.com/kmein/tuna";
|
|
||||||
}.${name};
|
|
||||||
ref = value.rev;
|
|
||||||
shallow = true;
|
|
||||||
};
|
|
||||||
}) (nixpkgs.lib.filterAttrs (name: _: !builtins.elem name [ "flake-utils" "krops" "self" ]) inputs);
|
}) (nixpkgs.lib.filterAttrs (name: _: !builtins.elem name [ "flake-utils" "krops" "self" ]) inputs);
|
||||||
deployScriptFor = {name, host}: let inherit (import ./lib/default.nix) sshPort; in toString (krops.packages.${system}.writeDeploy "deploy-${name}" {
|
deployScriptFor = {name, host}: let inherit (import ./lib/default.nix) sshPort; in toString (krops.packages.${system}.writeDeploy "deploy-${name}" {
|
||||||
source = krops.lib.evalSource [ (source name) ];
|
source = krops.lib.evalSource [ (source name) ];
|
||||||
|
|||||||
Reference in New Issue
Block a user