dotfiles/modules/nixos/system/default.nix

24 lines
349 B
Nix

{
config,
pkgs,
lib,
...
}:
{
imports = [
./auto-upgrade.nix
./doas.nix
./journald.nix
./shared.nix
./user.nix
./timezone.nix
];
config = lib.mkIf pkgs.stdenv.isLinux {
# Pin a state version to prevent warnings
system.stateVersion = config.home-manager.users.${config.user}.home.stateVersion;
};
}