Compare commits
2 commits
c7d69cd100
...
3755ab251d
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 3755ab251d | ||
Geoffrey Frogeye | 0bc0aaa9bf |
|
@ -440,13 +440,20 @@ in
|
||||||
pwgen
|
pwgen
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = "git-sync-init";
|
name = "git-sync-init";
|
||||||
# runtimeInputs = with pkgs; [ coreutils libnotify ];
|
|
||||||
text = (lib.strings.concatLines
|
text = (lib.strings.concatLines
|
||||||
(map (r: ''[ -d "${r.path}" ] || ${pkgs.git}/bin/git clone "${r.uri}" "${r.path}"'')
|
(map (r: ''[ -d "${r.path}" ] || ${pkgs.git}/bin/git clone "${r.uri}" "${r.path}"'')
|
||||||
(lib.attrsets.attrValues config.services.git-sync.repositories)
|
(lib.attrsets.attrValues config.services.git-sync.repositories)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
(pkgs.writeShellApplication {
|
||||||
|
name = "git-sync-pull";
|
||||||
|
text = (lib.strings.concatLines
|
||||||
|
(map (r: ''(cd "${r.path}"; echo "$PWD"; ${pkgs.git}/bin/git pull || true)'')
|
||||||
|
(lib.attrsets.attrValues config.services.git-sync.repositories)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
})
|
||||||
|
|
||||||
# Mail
|
# Mail
|
||||||
isync
|
isync
|
||||||
|
|
|
@ -49,7 +49,9 @@
|
||||||
# FPGA
|
# FPGA
|
||||||
] ++ lib.optionals config.frogeye.dev.fpga [
|
] ++ lib.optionals config.frogeye.dev.fpga [
|
||||||
verilog
|
verilog
|
||||||
# ghdl # TODO Not on aarch64
|
|
||||||
|
] ++ lib.optionals (config.frogeye.dev.fpga && pkgs.stdenv.isx86_64) [
|
||||||
|
ghdl
|
||||||
|
|
||||||
# FPGA (graphical)
|
# FPGA (graphical)
|
||||||
] ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [
|
] ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [
|
||||||
|
|
Loading…
Reference in a new issue