Tibor to Programmer [email protected]English • 1 year agoWhen you have to update the serverpawb.socialimagemessage-square54fedilinkarrow-up1433arrow-down113
arrow-up1420arrow-down1imageWhen you have to update the serverpawb.socialTibor to Programmer [email protected]English • 1 year agomessage-square54fedilink
minus-square@demesisxlinkEnglish4•edit-21 year agorebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }
minus-square@demesisxlinkEnglish5•1 year agoIt pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕
minus-square@[email protected]linkfedilinkEnglish5•1 year agoI personally use a patch on my nix that allows to evaluate a thunk for the inputs, and have every input in a different file. https://github.com/flafydev/combined-manager
minus-square@[email protected]linkfedilinkEnglish2•1 year agoMy config is at https://github.com/n3oney/nixus
rebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }
impure? :(
It pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕
I personally use a patch on my nix that allows to evaluate a thunk for the inputs, and have every input in a different file. https://github.com/flafydev/combined-manager
thanks so much for sharing. I’ll give it a look.
My config is at https://github.com/n3oney/nixus