Is it possible to write nvf modules with flake-parts?
#1296
-
|
I'm writing my NixOS configuration entirely with I would like to do a standalone But I'm not sure if I mean, for { inputs, ... }: {
imports = [
inputs.home-manager.flakeModules.home-manager
];
}Only then can you start doing stuff like Is there something similar for |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
This is what |
Beta Was this translation helpful? Give feedback.
-
|
Answer: it is possible, and everything just work out of the box. You don't need anything extra, really. |
Beta Was this translation helpful? Give feedback.
-
|
The short answer is yes, but there is no pre-made module for it. The standalone installation guide will apply as usual. Adding a flake-parts module (alongside a nix-darwin module) has been on my to-do list for a while, but I have never gotten to implementing those. What I want to avoid is a shallow wrapper around the builder function that introduces more maintenance work than a concrete "benefit". The idea I have in mind is a submodule that lets you declare multiple packages at once, but it risks introducing too much complexity. Though, I wouldn't say no to a PR if anyone feels like adding a tiny module. |
Beta Was this translation helpful? Give feedback.
Answer: it is possible, and everything just work out of the box. You don't need anything extra, really.