Compare commits

..

No commits in common. "1c5e3bf41902eb386e0803fc940fd88e6090766e" and "e7a74ed9fdc9381966284d26de25244dab86172f" have entirely different histories.

4 changed files with 14 additions and 38 deletions

View file

@ -34,15 +34,17 @@ runs:
echo "Removing unwanted software... " echo "Removing unwanted software... "
sudo rm -rf /opt &
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then
sudo apt-get purge \ sudo apt-get purge \
--allow-remove-essential \ --allow-remove-essential \
-qq \ -qq \
$(non_manifest_packages) # > /dev/null $(non_manifest_packages) > /dev/null &
wait
fi fi
sudo rm -rf /opt &
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
sudo rm -rf /var/lib/docker & sudo rm -rf /var/lib/docker &
sudo rm -rf /usr/{local,share} & sudo rm -rf /usr/{local,share} &

View file

@ -64,13 +64,20 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: git checkout -B flake-lock
# - name: Setup Git Bot
# run: |
# git --version
# git config user.name 'github-actions[bot]'
# git config user.email 'github-actions[bot]@users.noreply.github.com'
- uses: DeterminateSystems/nix-installer-action@v12 - uses: DeterminateSystems/nix-installer-action@v12
with: with:
extra-conf: | extra-conf: |
accept-flake-config = true accept-flake-config = true
- uses: DeterminateSystems/magic-nix-cache-action@v7 # - uses: DeterminateSystems/magic-nix-cache-action@v7
- uses: ./.github/actions/clean-disk - uses: ./.github/actions/clean-disk
with: with:
@ -86,30 +93,4 @@ jobs:
--verbose \ --verbose \
--debug \ --debug \
-- \ -- \
--print-build-logs \ --print-build-logs
--out-link current
- run: git checkout flake-lock
- name: Build Updated
run: |
system_attr=$(nix run . -- output --host "othalan" --flake .)
nix run . \
-- \
build $system_attr \
--flake . \
--verbose \
--debug \
-- \
--print-build-logs \
--out-link updated
- run: nix run "nixpkgs#nvd" diff ./current ./updated
- run: df -h
# is this necessary?
- run: cat $GITHUB_STEP_SUMMARY > summary.md
- uses: actions/upload-artifact@v4
with:
name: summary
path: summary.md

View file

@ -40,12 +40,6 @@
programs.nix-index.enableBashIntegration = false; programs.nix-index.enableBashIntegration = false;
programs.nix-index.enableFishIntegration = false; programs.nix-index.enableFishIntegration = false;
system.activationScripts.diff = ''
if [[ -e /run/current-system ]]; then
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
fi
'';
nix.settings = { nix.settings = {
trusted-users = [ "@wheel" ]; trusted-users = [ "@wheel" ];
accept-flake-config = true; accept-flake-config = true;

View file

@ -5,7 +5,6 @@
## software ## software
- [ ] lid closed does not engage hyprlock? - [ ] lid closed does not engage hyprlock?
> check the logind conf in Nixos
- [ ] include langservers for enabled languages? - [ ] include langservers for enabled languages?
## hardware ## hardware