mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-25 08:30:45 -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 66 additions and 42 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... "
|
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} &
|
||||||
|
|
37
.github/workflows/nightly.yml
vendored
37
.github/workflows/nightly.yml
vendored
|
@ -64,20 +64,13 @@ 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:
|
||||||
|
@ -93,4 +86,30 @@ 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
|
||||||
|
|
56
flake.lock
56
flake.lock
|
@ -305,11 +305,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720896272,
|
"lastModified": 1721044084,
|
||||||
"narHash": "sha256-zo1lDMsxjEyko/P+KfCLNYZrCAWQOrX90/J31nqzpy4=",
|
"narHash": "sha256-vO6wBIaInnyIQqmsKc28AsFSWeCFgnFilNhv2zoN/tU=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "bc6b0880dda2607a80f000c134f573c970452a0f",
|
"rev": "bd526822deb9ed47c0b51b534817aa8541fff07b",
|
||||||
"revCount": 4925,
|
"revCount": 4927,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland/"
|
"url": "https://github.com/hyprwm/Hyprland/"
|
||||||
|
@ -627,11 +627,11 @@
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720787015,
|
"lastModified": 1721037029,
|
||||||
"narHash": "sha256-U3IqoGmIzBKEJ0ihRQ10GRRtdoDBI6Oxl6aiGbUA59A=",
|
"narHash": "sha256-wuHiinPG5CzCUBr9I51g+IRhP/69Y9gRVh+QnEtFnyI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NixOS-WSL",
|
"repo": "NixOS-WSL",
|
||||||
"rev": "371b5076d718f7f637d3959d0203061f06af1263",
|
"rev": "f6db2d325bdf57d39a3ae43376bdf2a020a6aad2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -679,11 +679,11 @@
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_7"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720962207,
|
"lastModified": 1721048083,
|
||||||
"narHash": "sha256-X2P0tsbmfH5xzeXVjIAHYuH3gp9FWEaDAFgjfQCuSWI=",
|
"narHash": "sha256-9+v7DYzlQn0djo2j11Ges0uj5WzWajpob/Y3WcsEFks=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs-wayland",
|
"repo": "nixpkgs-wayland",
|
||||||
"rev": "60e0c3a81353494cf73cda5b3b5322e0e45017f6",
|
"rev": "7421424feb2e68a173f6fd218bbf71eb352404e5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -726,11 +726,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720244366,
|
"lastModified": 1720823163,
|
||||||
"narHash": "sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN+MXpA=",
|
"narHash": "sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "49ee0e94463abada1de470c9c07bfc12b36dcf40",
|
"rev": "f12ee5f64c6a09995e71c9626d88c4efa983b488",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -742,11 +742,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720955038,
|
"lastModified": 1721016451,
|
||||||
"narHash": "sha256-GaliJqfFwyYxReFywxAa8orCO+EnDq2NK2F+5aSc8vo=",
|
"narHash": "sha256-Cypl9ORr5UjtBsbjXMTJRepTe362yNVrPrntUvHiTaw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "aa247c0c90ecf4ae7a032c54fdc21b91ca274062",
|
"rev": "a14c5d651cee9ed70f9cd9e83f323f1e531002db",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -774,11 +774,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720768451,
|
"lastModified": 1720957393,
|
||||||
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=",
|
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9",
|
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -851,11 +851,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720924256,
|
"lastModified": 1721066749,
|
||||||
"narHash": "sha256-P9yElKsIEk6rp2AK3wf2vQQIlPh+BQQkvE+9BKg5BWs=",
|
"narHash": "sha256-h3JuiB78SKuHFhp5E43pjNBX/GkOg8lfe2oHBlhBE7k=",
|
||||||
"owner": "roc-lang",
|
"owner": "roc-lang",
|
||||||
"repo": "roc",
|
"repo": "roc",
|
||||||
"rev": "0284248320e1a72bb5823bd7005c6521c1c70857",
|
"rev": "cf06d2ba3578dbb3b7c4b3c36623c825e32ec62a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1150,11 +1150,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720920089,
|
"lastModified": 1721006597,
|
||||||
"narHash": "sha256-L6y1TI4caiJwKQBiBhU748F5Cv6563el0QOh6Zapk3s=",
|
"narHash": "sha256-cJQEx1PZUcuznnkQYgLOPCBrFrTUXwd9r+j7eI80xNY=",
|
||||||
"owner": "Cloudef",
|
"owner": "Cloudef",
|
||||||
"repo": "zig2nix",
|
"repo": "zig2nix",
|
||||||
"rev": "b6655dcc31af1b20d4e112306c46c110ce5d967d",
|
"rev": "26783d5f9c3edc01e14c80e260d1e81e53cd3ec9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1174,11 +1174,11 @@
|
||||||
"zig-overlay": "zig-overlay"
|
"zig-overlay": "zig-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720999205,
|
"lastModified": 1721070024,
|
||||||
"narHash": "sha256-ZDu+WrWQ66O0AsunHuMxr1FAYBx//qXowlcFWL15cSg=",
|
"narHash": "sha256-6pIyqkMmVf4AqNCrH0ZA/RBbQdV6m/j7AVwyaw4dzoE=",
|
||||||
"owner": "zigtools",
|
"owner": "zigtools",
|
||||||
"repo": "zls",
|
"repo": "zls",
|
||||||
"rev": "623e2f261c56a4bd14bf88a48c1fa2ba9bdc324a",
|
"rev": "e6f9242eeb2e3ad96653f444428fd7663976d775",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -40,6 +40,12 @@
|
||||||
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;
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -5,6 +5,7 @@
|
||||||
## 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
|
||||||
|
|
Loading…
Reference in a new issue