mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
fix
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.my.stateVersions = {
|
||||
nixos = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "25.11";
|
||||
};
|
||||
|
||||
homeManager = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "25.11";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
system.stateVersion = lib.mkDefault config.my.stateVersions.nixos;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user