<Reventlov>
Do home-manager support nixos specialisations in a way or another ? E.g I want to customize some part of my home-manager.users.myusername config
<Reventlov>
depending on the specialisation in use
<piegames[m]>
Reventlov (IRC): What do you mean with "specializations"?
<Reventlov>
it's a way to have different configuration (or specialisations) easily available for example at boot
<Reventlov>
for example, I want to have a specialisation with Wayland / X.org: https://0x0.st/-Zg6.jpg
<Reventlov>
(this is what I have right now, but I'd like to change things in home-manager too)
<piegames[m]>
TIL
<piegames[m]>
Reventlov (IRC): Do you call Home-manager from within your Nix configuration? Should be something like `name.of.the.home.config = {config, pkgs, ...}: { home.packages = …; … };`
<piegames[m]>
Reventlov (IRC): This involves medium advanced module system knowledge, but I'd try this: make your `base` module configurable, so that is has some option to be set by other modules. Your specializations will then set that option. The option will be read from your home config inside that module, and thus influence your home-manager settings.
<piegames[m]>
Just be aware that the `home-manager.users.remy` option is not a normal attrset, but its value is a proper module on its own. You effectively have two nested levels of mostly independent module systems, and it easily becoms confusing
ronthecookie has quit [Excess Flood]
ronthecookie has joined #home-manager
ronthecookie has quit [Excess Flood]
ronthecookie has joined #home-manager
cole-h has joined #home-manager
cole-h has quit [Ping timeout: 256 seconds]
romanofski has quit [Ping timeout: 260 seconds]
romanofski has joined #home-manager
sumner has joined #home-manager
rajivr has quit [Quit: Connection closed for inactivity]