| 29 Jan 2026 |
Sofie 🏳️⚧️ (she/her) | This! | 09:10:44 |
Sofie 🏳️⚧️ (she/her) | That's one thing flakes did right | 09:10:58 |
Sofie 🏳️⚧️ (she/her) | idk, I'll maybe just stick with flakes due to e.g. nix run | 09:11:29 |
aloisw | nix run also works without flakes, using -f the same way as the other commands. | 09:12:03 |
Sofie 🏳️⚧️ (she/her) | ah | 09:14:52 |
Sofie 🏳️⚧️ (she/her) | How do I use config inside home manager which is inside nixos? | 10:18:59 |
neobrain | Running off nixpks without a local clone is a bit awkward with that though, isn't it? | 10:20:12 |
Sofie 🏳️⚧️ (she/her) | I get like
error: The option home-manager.users.sofie.catppuccin' does not exist. Definition values: In /nix/store/2d7lnrfk6w9lqfmlirbl3ga9y3rp8k2x-source/modules/home/desktop/gnome/catppuccin/qt":
| 10:20:48 |
Sofie 🏳️⚧️ (she/her) | Even when it's defined | 10:20:59 |
Sofie 🏳️⚧️ (she/her) | But this works with a different host? | 10:21:19 |
Sofie 🏳️⚧️ (she/her) | Maybe because it has already deployed it before but idk | 10:21:32 |
aloisw | nix run -f '<nixpkgs>'? | 10:27:17 |
KFears (they/them) | Use osConfig instead of config | 10:42:21 |
KFears (they/them) | If you want to access NixOS config from inside of HM scope | 10:42:37 |
Sofie 🏳️⚧️ (she/her) | thanks | 10:49:05 |
neobrain | oh right, I forgot that's a thing if you use channels | 11:04:41 |
delroth | not necessarily channels (which are pretty terrible), my nixos machines are configured to have the nixpkgs they're built from symlinked at /etc/nixpkgs and a nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ]; | 12:27:23 |
niko ⚡️ | I personally go through flake registry and inside registry pin nixpkgs to specific revision but yeah the symlinking approach makes you not reliant on flakes which some may consider desirable | 12:34:05 |
Coca | Would it be fine to have to "sync" any edits to the source of truth as a separate action from evaluating the sources? The nice thing with flakes is that they can reflect the changes in flakes.nix without you needing to explicitly tell it to do so as the commands are built to handle it, and I'm not sure if not having that ability would make this worth it. | 13:48:34 |