I have a big flake that manages my home-manager, nix-darwin (work), and nixos (home).
-
I have a big flake that manages my home-manager, nix-darwin (work), and nixos (home). Problem is that often times getting all these to work on -unstable is "fun" with a single flake.lock file.
Has anyone done a flake.nix/flake.lock _per_ host and did something like the Dendritic pattern to include modules? This way i can bump systems independently as needed?
It's not perfect, but maybe better than waiting weeks to get the perfect nixos-unstable that works across all systems and allows me to debug/patch separately.
-
I have a big flake that manages my home-manager, nix-darwin (work), and nixos (home). Problem is that often times getting all these to work on -unstable is "fun" with a single flake.lock file.
Has anyone done a flake.nix/flake.lock _per_ host and did something like the Dendritic pattern to include modules? This way i can bump systems independently as needed?
It's not perfect, but maybe better than waiting weeks to get the perfect nixos-unstable that works across all systems and allows me to debug/patch separately.
@nemith have you tried adding multiple inputs for the different channels? I don't see a reason why a separate flake would be needed to pull in more than one channel.
-
@nemith have you tried adding multiple inputs for the different channels? I don't see a reason why a separate flake would be needed to pull in more than one channel.
@jakehamilton I could do that. I just like the idea of 'nix flake update` per system better than trying to manage a bunch of weirdly name input channels.
-
I have a big flake that manages my home-manager, nix-darwin (work), and nixos (home). Problem is that often times getting all these to work on -unstable is "fun" with a single flake.lock file.
Has anyone done a flake.nix/flake.lock _per_ host and did something like the Dendritic pattern to include modules? This way i can bump systems independently as needed?
It's not perfect, but maybe better than waiting weeks to get the perfect nixos-unstable that works across all systems and allows me to debug/patch separately.
@nemith single flake lock, multiple pkgs as input to modules. Then i can use pkgs (stable) or bleed-pkgs (unstable) in my modules as appropriate. Signal and FFox from unstable, for example, and the rest defaults to stable..
-
R relay@relay.infosec.exchange shared this topic