Nix Flakes | 833 Members | |
| 165 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Aug 2025 | ||
| 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 | ||
| 19:17:45 | ||
| 19:30:26 | ||
| 15 Aug 2025 | ||
| 03:42:16 | ||
| 16 Aug 2025 | ||
| 12:46:55 | ||
| 18 Aug 2025 | ||
| 13:42:21 | ||
| 19 Aug 2025 | ||
| 09:23:54 | ||
| 20 Aug 2025 | ||
| 14:18:05 | ||
| 18:50:24 | ||
| 21 Aug 2025 | ||
| 22:10:41 | ||
| 22 Aug 2025 | ||
| 00:43:17 | ||