refactor(hm/gui): reorganize modules
All checks were successful
/ check (push) Successful in 9s
/ check-renovaterc (push) Successful in 3s
/ build-packages (push) Successful in 13s
/ build-vm (push) Successful in 2s
/ report-size (push) Successful in 5s

This way we are not `import`ing stuff which is slow.

It also makes it easier to turn off the sway module.
This commit is contained in:
Jalil David Salamé Messina 2025-04-21 14:01:24 +02:00
parent 816cfdd2af
commit 5358188ad1
Signed by: jalil
GPG key ID: F016B9E770737A0B
7 changed files with 392 additions and 383 deletions

View file

@ -3,10 +3,10 @@ default:
# Update a specific flake input
update input:
nix flake lock --update-input {{input}} --commit-lock-file
nix flake lock --update-input "{{input}}" --commit-lock-file
build-vm:
nixos-rebuild build-vm --flake .#vm --print-build-logs
nixos-rebuild build-vm --fallback --flake .#vm --print-build-logs
run-vm: build-vm
QEMU_OPTS="$QEMU_OPTS_WL" result/bin/run-nixos-vm