Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix update script, update

+45 -41
+34 -34
flake.lock
··· 47 47 ] 48 48 }, 49 49 "locked": { 50 - "lastModified": 1771632347, 51 - "narHash": "sha256-kNm0YX9RUwf7GZaWQu2F71ccm4OUMz0xFkXn6mGPfps=", 50 + "lastModified": 1772252645, 51 + "narHash": "sha256-SVP3BYv/tY19P7mh0aG2Pgq4M/CynQEnV4y+57Ed91g=", 52 52 "owner": "sadjow", 53 53 "repo": "claude-code-nix", 54 - "rev": "ec90f84b2ea21f6d2272e00d1becbc13030d1895", 54 + "rev": "42c9207e79f1e6b8b95b54a64c10452275717466", 55 55 "type": "github" 56 56 }, 57 57 "original": { ··· 85 85 "determinate-nixd-aarch64-darwin": { 86 86 "flake": false, 87 87 "locked": { 88 - "narHash": "sha256-PUo0u1iNMB8eTlBNFMCW8/UAn1sGKGqsIYlXaDRhx00=", 88 + "narHash": "sha256-NK3YCWCmz9WYQtXTg5/VYNo+KrV/7P5rBYqVhkzWEv8=", 89 89 "type": "file", 90 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS" 90 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS" 91 91 }, 92 92 "original": { 93 93 "type": "file", 94 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS" 94 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS" 95 95 } 96 96 }, 97 97 "determinate-nixd-aarch64-linux": { 98 98 "flake": false, 99 99 "locked": { 100 - "narHash": "sha256-jiIWiM88xkEpBQeohSxhl83fn2xoZY0nFkrW6CUAIAI=", 100 + "narHash": "sha256-RtiD/ualuvKSZH04G5KpBd2D4tcr5pv//cU+CGnByKs=", 101 101 "type": "file", 102 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux" 102 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux" 103 103 }, 104 104 "original": { 105 105 "type": "file", 106 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux" 106 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux" 107 107 } 108 108 }, 109 109 "determinate-nixd-x86_64-linux": { 110 110 "flake": false, 111 111 "locked": { 112 - "narHash": "sha256-qF/NNdHwh3tAHrKIOz2FRq5Q8GcSMzJeEY/PFvGf5vo=", 112 + "narHash": "sha256-XDzjUdfsnWtANfAzd8GpLkuch1+3rHDGD2uKN93Fw6M=", 113 113 "type": "file", 114 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux" 114 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux" 115 115 }, 116 116 "original": { 117 117 "type": "file", 118 - "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux" 118 + "url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux" 119 119 } 120 120 }, 121 121 "determinite": { ··· 129 129 ] 130 130 }, 131 131 "locked": { 132 - "lastModified": 1771014593, 133 - "narHash": "sha256-NrCFwn20ewJwy/SZoREs+XylerizPCYP54n9qkr31/E=", 134 - "rev": "69b4ff80ae2bbdd1e3f02ccd76a5f2988b118ed2", 135 - "revCount": 397, 132 + "lastModified": 1771910357, 133 + "narHash": "sha256-ns+2FDFS2BUbT1CshCF0hLYyYR2BiTOQqCMHDoGFXUo=", 134 + "rev": "b0833008a670c5d1ad2d1afbd711c1bf101f5296", 135 + "revCount": 405, 136 136 "type": "tarball", 137 - "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.0/019c58b5-64dc-77f9-b913-8738b7d338cc/source.tar.gz" 137 + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.3/019c8e19-e7a4-7fe4-ad79-b4b5feefd24a/source.tar.gz" 138 138 }, 139 139 "original": { 140 140 "type": "tarball", ··· 357 357 ] 358 358 }, 359 359 "locked": { 360 - "lastModified": 1771744638, 361 - "narHash": "sha256-EDLi+YAsEEAmMeZe1v6GccuGRbCkpSZp/+A6g+pivR8=", 360 + "lastModified": 1772302941, 361 + "narHash": "sha256-TL3+ckbOTILXrR0qSK3dJj2BJ0S5yz/YSsUF1oEgd9g=", 362 362 "owner": "nix-community", 363 363 "repo": "home-manager", 364 - "rev": "cb6c151f5c9db4df0b69d06894dc8484de1f16a0", 364 + "rev": "9b9142b5fe214c2adabe86257c33e022372b7c96", 365 365 "type": "github" 366 366 }, 367 367 "original": { ··· 459 459 "nixpkgs-regression": "nixpkgs-regression" 460 460 }, 461 461 "locked": { 462 - "lastModified": 1771010067, 463 - "narHash": "sha256-Itk88UC3CxjGjjAb20KI6KrM9tRoGEpbv996fXwAWGo=", 464 - "rev": "5c670e37e884c43e1da0405075c9b9c83d316a6c", 465 - "revCount": 24629, 462 + "lastModified": 1771906938, 463 + "narHash": "sha256-yMI4VhuahG1027I+x/xy0F5FUM7ntwB/hDouCmpwEb8=", 464 + "rev": "628d55ca372a6d9eb071804b589aaa8a6974807d", 465 + "revCount": 24688, 466 466 "type": "tarball", 467 - "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.0/019c589d-45e9-7337-9ff0-a8d78fecf63f/source.tar.gz" 467 + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.3/019c8e13-4542-7edc-9244-38a597d18258/source.tar.gz" 468 468 }, 469 469 "original": { 470 470 "type": "tarball", ··· 541 541 }, 542 542 "nixpkgs-unstable": { 543 543 "locked": { 544 - "lastModified": 1771369470, 545 - "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", 544 + "lastModified": 1771848320, 545 + "narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=", 546 546 "owner": "nixos", 547 547 "repo": "nixpkgs", 548 - "rev": "0182a361324364ae3f436a63005877674cf45efb", 548 + "rev": "2fc6539b481e1d2569f25f8799236694180c0993", 549 549 "type": "github" 550 550 }, 551 551 "original": { ··· 557 557 }, 558 558 "nixpkgs_2": { 559 559 "locked": { 560 - "lastModified": 1771574726, 561 - "narHash": "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=", 560 + "lastModified": 1772047000, 561 + "narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=", 562 562 "owner": "nixos", 563 563 "repo": "nixpkgs", 564 - "rev": "c217913993d6c6f6805c3b1a3bda5e639adfde6d", 564 + "rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e", 565 565 "type": "github" 566 566 }, 567 567 "original": { ··· 580 580 ] 581 581 }, 582 582 "locked": { 583 - "lastModified": 1770726378, 584 - "narHash": "sha256-kck+vIbGOaM/dHea7aTBxdFYpeUl/jHOy5W3eyRvVx8=", 583 + "lastModified": 1772024342, 584 + "narHash": "sha256-+eXlIc4/7dE6EcPs9a2DaSY3fTA9AE526hGqkNID3Wg=", 585 585 "owner": "cachix", 586 586 "repo": "git-hooks.nix", 587 - "rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae", 587 + "rev": "6e34e97ed9788b17796ee43ccdbaf871a5c2b476", 588 588 "type": "github" 589 589 }, 590 590 "original": {
+1 -1
host-specific/aleister-noah.nix
··· 122 122 minica 123 123 mkcert 124 124 step-cli 125 - unstable.opencode 125 + opencode 126 126 claude-code 127 127 128 128 # Libraries because MacOS is kinda stupid
+10 -6
scripts/update-nix.rcsh
··· 2 2 3 3 nix_dir=() 4 4 system_type=() 5 - if (test -d ~/repos/nixos) { 6 - nix_dir=~/repos/nixos 5 + if (test -d $HOME/repos/nixos) { 6 + nix_dir=$HOME/repos/nixos 7 7 system_type=nixos 8 8 echo On a NixOS based system 9 9 } 10 - if (test -d ~/.config/home-manager) { 11 - nix_dir=~/.config/home-manager 10 + if (test -d $HOME/.config/home-manager) { 11 + nix_dir=$HOME/.config/home-manager 12 12 system_type=homemanager 13 13 echo On a Home Manager based system 14 14 } 15 + if (~ $nix_dir ()) { 16 + echo Could not find correct Nix directory 17 + exit 1 18 + } 15 19 echo Using $nix_dir 16 20 17 21 nix flake update --flake $nix_dir 18 22 19 23 switch($system_type) { 20 24 case nixos 21 - exec sudo nixos-rebuild --refresh --show-trace --flake $nix_dir 25 + sudo nixos-rebuild --refresh --show-trace --flake $nix_dir 22 26 case homemanager 23 - exec sudo home-manager switch --refresh --flake $nix_dir 27 + sudo home-manager switch --refresh --flake $nix_dir 24 28 case * 25 29 echo Huh? Unexpected system type: $system_type 26 30 exit 1