mirror of
https://git.gay/xqtc/nixos-config
synced 2025-01-04 06:43:45 +01:00
Compare commits
No commits in common. "fc2263390a2e9cf111ce7afd7a69a2dad866f21a" and "03395881788f8928c2d93f85036e9c3ca4ed65de" have entirely different histories.
fc2263390a
...
0339588178
|
@ -29,8 +29,6 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = false;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = ["x86_64-linux"];
|
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.autoPrune.enable = true;
|
virtualisation.docker.autoPrune.enable = true;
|
||||||
virtualisation.docker.autoPrune.dates = "daily";
|
virtualisation.docker.autoPrune.dates = "daily";
|
||||||
|
|
16
justfile
16
justfile
|
@ -17,14 +17,14 @@ rebuild:
|
||||||
beleth:
|
beleth:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
# arch=$(nix-instantiate --eval -E 'builtins.currentSystem')
|
arch=$(nix-instantiate --eval -E 'builtins.currentSystem')
|
||||||
# arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
|
arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
|
||||||
# if [ $arch_sanitized == "x86_64-linux" ]; then
|
if [ $arch_sanitized == "x86_64-linux" ]; then
|
||||||
nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}};
|
nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}};
|
||||||
ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh";
|
ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh";
|
||||||
exit
|
exit
|
||||||
# fi
|
fi
|
||||||
# @echo "Host arch needs to be 'x86_64-linux'! Aborting...";
|
@echo "Host arch needs to be 'x86_64-linux'! Aborting...";
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
Loading…
Reference in a new issue