This commit introduces a system module for NixOS and Home Manager, and passes the configuration to the lib file.
10 lines
208 B
Nix
10 lines
208 B
Nix
{
|
|
flake.modules.nixos.default = {
|
|
system.stateVersion = "25.11";
|
|
};
|
|
flake.modules.homeManager.default =
|
|
{ osConfig, ... }:
|
|
{
|
|
home.stateVersion = osConfig.system.stateVersion;
|
|
};
|
|
}
|