Nix Flakes | 854 Members | |
| 177 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Aug 2025 | ||
| 21:14:02 | ||
| 8 Aug 2025 | ||
wonder if anyone else uses git+https flake input for nixpkgs | 01:50:06 | |
| incremental updates are so much faster | 01:50:23 | |
| on the other hand seems to nix substitute flake input fetches | 01:53:28 | |
| so that's still one download | 01:53:34 | |
| * so that's still one download whenever it does get gc'd | 01:53:41 | |
| but that's easy to work around, just hold on to it in the system closure or something (which by default the flake registry thing already does yay) | 01:54:03 | |
| 06:28:06 | ||
| 12:33:25 | ||
| 13:01:53 | ||
| 13:06:05 | ||
| 13:06:58 | ||
| 17:04:50 | ||
| 18:13:54 | ||
| 9 Aug 2025 | ||
| 14:23:02 | ||
| 15:15:37 | ||
| 11 Aug 2025 | ||
| hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24 Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔 Thank you for your patience 🙏 | 12:14:53 | |
| * hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24 Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔 Any help/advice is much appreciated 🙏 | 12:16:14 | |
| * hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24 Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔 Any help/advice/guidance is much appreciated 🙏 | 12:16:33 | |
In reply to @dminca:matrix.orgyour apply-configurations script depends on both configurations | 12:18:01 | |
so when you nix run the script both gets built | 12:18:20 | |
i'd say consider calling home-manager and darwin-rebuild without the path. it's just a convenience script - no need to make it depend on the configs themselves | 12:19:23 | |
| also check out https://github.com/nix-community/nh for a possibly more convenient helper | 12:19:48 | |
| ohhh it makes sense 🤔 never thought doing it that way might cause this behavior. Thanks so much! Will look into nh as well to get a better grasp of it, thanks for sharing 🍻 | 12:21:24 | |
| 14:46:46 | ||
| 12 Aug 2025 | ||
| 16:07:12 | ||
| 13 Aug 2025 | ||
| 12:53:49 | ||
| 13:24:26 | ||
| 14 Aug 2025 | ||
| 10:56:49 | ||
| 18:47:32 | ||