mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-13 19:27:53 -06:00
Compare commits
No commits in common. "1c5e3bf41902eb386e0803fc940fd88e6090766e" and "e7a74ed9fdc9381966284d26de25244dab86172f" have entirely different histories.
1c5e3bf419
...
e7a74ed9fd
4 changed files with 14 additions and 38 deletions
8
.github/actions/clean-disk/action.yml
vendored
8
.github/actions/clean-disk/action.yml
vendored
|
@ -34,15 +34,17 @@ runs:
|
|||
|
||||
echo "Removing unwanted software... "
|
||||
|
||||
sudo rm -rf /opt &
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||
|
||||
if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then
|
||||
sudo apt-get purge \
|
||||
--allow-remove-essential \
|
||||
-qq \
|
||||
$(non_manifest_packages) # > /dev/null
|
||||
$(non_manifest_packages) > /dev/null &
|
||||
wait
|
||||
fi
|
||||
|
||||
sudo rm -rf /opt &
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||
|
||||
sudo rm -rf /var/lib/docker &
|
||||
sudo rm -rf /usr/{local,share} &
|
||||
|
|
37
.github/workflows/nightly.yml
vendored
37
.github/workflows/nightly.yml
vendored
|
@ -64,13 +64,20 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
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
|
||||
with:
|
||||
extra-conf: |
|
||||
accept-flake-config = true
|
||||
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
# - uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
|
||||
- uses: ./.github/actions/clean-disk
|
||||
with:
|
||||
|
@ -86,30 +93,4 @@ jobs:
|
|||
--verbose \
|
||||
--debug \
|
||||
-- \
|
||||
--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
|
||||
--print-build-logs
|
||||
|
|
|
@ -40,12 +40,6 @@
|
|||
programs.nix-index.enableBashIntegration = 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 = {
|
||||
trusted-users = [ "@wheel" ];
|
||||
accept-flake-config = true;
|
||||
|
|
1
todo.md
1
todo.md
|
@ -5,7 +5,6 @@
|
|||
## software
|
||||
|
||||
- [ ] lid closed does not engage hyprlock?
|
||||
> check the logind conf in Nixos
|
||||
- [ ] include langservers for enabled languages?
|
||||
|
||||
## hardware
|
||||
|
|
Loading…
Reference in a new issue