Compare commits

...

2 commits

Author SHA1 Message Date
Geoffrey Frogeye 3755ab251d
Make fpga installable on aarch64
... when was the last time I had to do FPGA stuff though?
2024-01-04 22:11:11 +01:00
Geoffrey Frogeye 0bc0aaa9bf
Add git-sync-pull 2024-01-04 22:10:44 +01:00
2 changed files with 11 additions and 2 deletions

View file

@ -440,13 +440,20 @@ in
pwgen
(pkgs.writeShellApplication {
name = "git-sync-init";
# runtimeInputs = with pkgs; [ coreutils libnotify ];
text = (lib.strings.concatLines
(map (r: ''[ -d "${r.path}" ] || ${pkgs.git}/bin/git clone "${r.uri}" "${r.path}"'')
(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
isync

View file

@ -49,7 +49,9 @@
# FPGA
] ++ lib.optionals config.frogeye.dev.fpga [
verilog
# ghdl # TODO Not on aarch64
] ++ lib.optionals (config.frogeye.dev.fpga && pkgs.stdenv.isx86_64) [
ghdl
# FPGA (graphical)
] ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [