NixOS Module System | 155 Members | |
| 29 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Jun 2025 | ||
| 13:06:30 | ||
| 20:46:30 | ||
| 16 Jun 2025 | ||
| Redacted or Malformed Event | 07:00:33 | |
| 21:50:42 | ||
| 17 Jun 2025 | ||
| 12:06:51 | ||
| 22 Jun 2025 | ||
| 12:14:58 | ||
| 23 Jun 2025 | ||
| 15:36:50 | ||
| 27 Jun 2025 | ||
| 17:25:55 | ||
| 30 Jun 2025 | ||
| 03:04:43 | ||
| 2 Jul 2025 | ||
| 13:30:44 | ||
| 4 Jul 2025 | ||
| 21:28:45 | ||
| 7 Jul 2025 | ||
| 13:12:04 | ||
| 8 Jul 2025 | ||
| 09:11:18 | ||
| Hey guys, I am trying to modularize my system, but there's one thing that I can't grasp. When you see everyone using Nix modules to split their configs, they almost always have their home manager configuration separate from their system configuration. I mean, it makes sense 95% of time, however, for some programs, like for example Hyprland, if you want to use Home Manager to manage Hyprland, you need the system module enabled as well. Basically everyone I've seen simply has a hyprland.nix config file both in the home-manager config as well as the system config. However, this means they're decoupled. If I am choosing which modules to enable inside my host, I have to think about enabling both my user hyprland module as well as my system hyprland module (which are in different parts of my dotfiles, since one of them is inside the home-manager configuration directory and the other one is inside the system configuration directory). How do I properly manage this sort of thing? | 09:17:03 | |
| Martin Gaens: I have a home-manager config which is either managed on its own or within NixOS, which I use across 2 different computer. I am using the Note, there is nothing about special args, I might have as well set an option by adding an extra module in | 09:25:23 | |
| Thanks for your reply. I am quite new to this; I'm not sure I understand. Do you mean you have some externally-managed configuration, which you pass both to your home-manager config as well as to your system config, and then, make decisions in those configs based on the global configuration? | 09:43:25 | |
| I can either use my home manager as a standalone entry in my
Or as a module to import in my NixOS configuration:
The | 09:54:33 | |