dotfiles/modules/nixos/system/default.nix
2023-07-30 20:26:23 -04:00

15 lines
314 B
Nix

{ config, pkgs, lib, ... }: {
imports =
[ ./auto-upgrade.nix ./doas.nix ./journald.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;
};
}