refactor(modules): clean up folder structure
This commit is contained in:
parent
d8aa7f62b4
commit
03fca8b28b
12 changed files with 32 additions and 38 deletions
14
nix/modules/system/system.nix
Normal file
14
nix/modules/system/system.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
flake.modules.nixos.default = {
|
||||
persistFiles = [ "/etc/machine-id" ];
|
||||
persistDirs = [ "/var/lib/systemd" ];
|
||||
time.timeZone = "Asia/Singapore";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
system.stateVersion = "25.11";
|
||||
};
|
||||
flake.modules.homeManager.default =
|
||||
{ osConfig, ... }:
|
||||
{
|
||||
home.stateVersion = osConfig.system.stateVersion;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue