2024-04-20 09:42:06 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2022-07-25 23:15:26 -04:00
|
|
|
|
2024-04-20 09:42:06 -04:00
|
|
|
imports = [
|
|
|
|
./auto-upgrade.nix
|
|
|
|
./doas.nix
|
|
|
|
./journald.nix
|
2024-12-05 21:58:18 +00:00
|
|
|
./shared.nix
|
2024-04-20 09:42:06 -04:00
|
|
|
./user.nix
|
|
|
|
./timezone.nix
|
|
|
|
];
|
2022-07-25 23:15:26 -04:00
|
|
|
|
2022-12-21 14:18:03 -07:00
|
|
|
config = lib.mkIf pkgs.stdenv.isLinux {
|
|
|
|
|
|
|
|
# Pin a state version to prevent warnings
|
2024-04-20 09:42:06 -04:00
|
|
|
system.stateVersion = config.home-manager.users.${config.user}.home.stateVersion;
|
2022-12-21 14:18:03 -07:00
|
|
|
};
|
2022-07-25 23:15:26 -04:00
|
|
|
}
|