mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
Compare commits
11 commits
e5b8a8e0ff
...
9ccd7d3f6d
Author | SHA1 | Date | |
---|---|---|---|
|
9ccd7d3f6d | ||
1c5e3bf419 | |||
6706c562aa | |||
82fa56ebcf | |||
daa7ea3314 | |||
cfa3b363a0 | |||
5156e5a61f | |||
9952a05d7d | |||
afd15774c8 | |||
f96226a9c3 | |||
b7c5798f84 |
5 changed files with 76 additions and 52 deletions
8
.github/actions/clean-disk/action.yml
vendored
8
.github/actions/clean-disk/action.yml
vendored
|
@ -34,17 +34,15 @@ 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 &
|
||||
wait
|
||||
$(non_manifest_packages) # > /dev/null
|
||||
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,20 +64,13 @@ 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:
|
||||
|
@ -93,4 +86,30 @@ jobs:
|
|||
--verbose \
|
||||
--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
|
||||
|
|
76
flake.lock
76
flake.lock
|
@ -305,11 +305,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720896272,
|
||||
"narHash": "sha256-zo1lDMsxjEyko/P+KfCLNYZrCAWQOrX90/J31nqzpy4=",
|
||||
"lastModified": 1721044084,
|
||||
"narHash": "sha256-vO6wBIaInnyIQqmsKc28AsFSWeCFgnFilNhv2zoN/tU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "bc6b0880dda2607a80f000c134f573c970452a0f",
|
||||
"revCount": 4925,
|
||||
"rev": "bd526822deb9ed47c0b51b534817aa8541fff07b",
|
||||
"revCount": 4927,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland/"
|
||||
|
@ -482,11 +482,11 @@
|
|||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720354218,
|
||||
"narHash": "sha256-cyl6Cxqo4bNmwLXi8/qIc3U1vRJ9VyIBUL/j3is4x58=",
|
||||
"lastModified": 1720958877,
|
||||
"narHash": "sha256-ggCV3etL7W1X9kxhLPZP35+BBh1LgQybene+L/aeQaQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "lib-aggregate",
|
||||
"rev": "5865544e7c012ecaa952f5c6cf5878c1676b52b4",
|
||||
"rev": "6e56a6fd1d993eb02c991d449819f01340888e02",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -498,11 +498,11 @@
|
|||
"lix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1720825173,
|
||||
"narHash": "sha256-YZ7043PFS6LalHAyGeO7qRLeZIevwjHRbbMkpixjwhM=",
|
||||
"rev": "a8f443d96011c11ad726c2a28a37752bd56c12cc",
|
||||
"lastModified": 1720976034,
|
||||
"narHash": "sha256-fueWQn/bzWcYeR01UWAhjMejgpQc2mjSPt3gb5tpoMs=",
|
||||
"rev": "1eb5d22132a57487e0cb84a65ecd35814624c0e5",
|
||||
"type": "tarball",
|
||||
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/a8f443d96011c11ad726c2a28a37752bd56c12cc.tar.gz"
|
||||
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/1eb5d22132a57487e0cb84a65ecd35814624c0e5.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
@ -627,11 +627,11 @@
|
|||
"nixpkgs": "nixpkgs_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720787015,
|
||||
"narHash": "sha256-U3IqoGmIzBKEJ0ihRQ10GRRtdoDBI6Oxl6aiGbUA59A=",
|
||||
"lastModified": 1721037029,
|
||||
"narHash": "sha256-wuHiinPG5CzCUBr9I51g+IRhP/69Y9gRVh+QnEtFnyI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NixOS-WSL",
|
||||
"rev": "371b5076d718f7f637d3959d0203061f06af1263",
|
||||
"rev": "f6db2d325bdf57d39a3ae43376bdf2a020a6aad2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -658,11 +658,11 @@
|
|||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1720313561,
|
||||
"narHash": "sha256-arht1SYnZ5hJl1COIuqbdRi8ibpnNtc9zUZLmU9xqTs=",
|
||||
"lastModified": 1720918433,
|
||||
"narHash": "sha256-z3Lp++7k4l/3K4A+7v3cuHBNcm/vntGXgxElLH+INa4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "770d42db0b8203bdd84ddbd707a49fe0a3638863",
|
||||
"rev": "3b0b1763c0f0931deaa2980b7b146f8ae7a6a952",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -679,11 +679,11 @@
|
|||
"nixpkgs": "nixpkgs_7"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720932034,
|
||||
"narHash": "sha256-7tz2witA6mIxX3250WyhD8rvXQxlSzQFEDdVLYvzEU8=",
|
||||
"lastModified": 1721048083,
|
||||
"narHash": "sha256-9+v7DYzlQn0djo2j11Ges0uj5WzWajpob/Y3WcsEFks=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs-wayland",
|
||||
"rev": "09a28c6e377ae40c67d79f0a98c5bff3c59457b8",
|
||||
"rev": "7421424feb2e68a173f6fd218bbf71eb352404e5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -726,11 +726,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1720244366,
|
||||
"narHash": "sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN+MXpA=",
|
||||
"lastModified": 1720823163,
|
||||
"narHash": "sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "49ee0e94463abada1de470c9c07bfc12b36dcf40",
|
||||
"rev": "f12ee5f64c6a09995e71c9626d88c4efa983b488",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -742,11 +742,11 @@
|
|||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1720875497,
|
||||
"narHash": "sha256-1Al1qDC8Q/s4viPq4ln8jfHWZxYl+Nb49dNFISFpqBY=",
|
||||
"lastModified": 1721016451,
|
||||
"narHash": "sha256-Cypl9ORr5UjtBsbjXMTJRepTe362yNVrPrntUvHiTaw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b729601a9e6c459fd8884dea513af143111bed54",
|
||||
"rev": "a14c5d651cee9ed70f9cd9e83f323f1e531002db",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -774,11 +774,11 @@
|
|||
},
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1720768451,
|
||||
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=",
|
||||
"lastModified": 1720957393,
|
||||
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9",
|
||||
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -851,11 +851,11 @@
|
|||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720924256,
|
||||
"narHash": "sha256-P9yElKsIEk6rp2AK3wf2vQQIlPh+BQQkvE+9BKg5BWs=",
|
||||
"lastModified": 1721066749,
|
||||
"narHash": "sha256-h3JuiB78SKuHFhp5E43pjNBX/GkOg8lfe2oHBlhBE7k=",
|
||||
"owner": "roc-lang",
|
||||
"repo": "roc",
|
||||
"rev": "0284248320e1a72bb5823bd7005c6521c1c70857",
|
||||
"rev": "cf06d2ba3578dbb3b7c4b3c36623c825e32ec62a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1150,11 +1150,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720920089,
|
||||
"narHash": "sha256-L6y1TI4caiJwKQBiBhU748F5Cv6563el0QOh6Zapk3s=",
|
||||
"lastModified": 1721006597,
|
||||
"narHash": "sha256-cJQEx1PZUcuznnkQYgLOPCBrFrTUXwd9r+j7eI80xNY=",
|
||||
"owner": "Cloudef",
|
||||
"repo": "zig2nix",
|
||||
"rev": "b6655dcc31af1b20d4e112306c46c110ce5d967d",
|
||||
"rev": "26783d5f9c3edc01e14c80e260d1e81e53cd3ec9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1174,11 +1174,11 @@
|
|||
"zig-overlay": "zig-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720799773,
|
||||
"narHash": "sha256-JeQuI0LLjCdI1zgHQu9n0tA3CEz8EZ0qHUFAYqWURA0=",
|
||||
"lastModified": 1721070024,
|
||||
"narHash": "sha256-6pIyqkMmVf4AqNCrH0ZA/RBbQdV6m/j7AVwyaw4dzoE=",
|
||||
"owner": "zigtools",
|
||||
"repo": "zls",
|
||||
"rev": "ef50085f7b7136c1e1b26438141bb005743f38c1",
|
||||
"rev": "e6f9242eeb2e3ad96653f444428fd7663976d775",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -40,6 +40,12 @@
|
|||
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,6 +5,7 @@
|
|||
## 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