Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agoWhen you have to update the serverpawb.socialimagemessage-square63fedilinkarrow-up1442arrow-down111
arrow-up1431arrow-down1imageWhen you have to update the serverpawb.socialTibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square63fedilink
minus-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up4·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-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up5·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-squareneoney@lemmy.neoney.devlinkfedilinkEnglisharrow-up5·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-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up5·1 year agothanks so much for sharing. I’ll give it a look.
minus-squareneoney@lemmy.neoney.devlinkfedilinkEnglisharrow-up2·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