Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 3 years agoWhen you have to update the serverpawb.socialexternal-linkmessage-square63linkfedilinkarrow-up1441arrow-down111
arrow-up1430arrow-down1external-linkWhen you have to update the serverpawb.socialTibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 3 years agomessage-square63linkfedilink
minus-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-23 years 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·3 years 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·3 years 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·3 years agothanks so much for sharing. I’ll give it a look.
minus-squareneoney@lemmy.neoney.devlinkfedilinkEnglisharrow-up2·3 years 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