dotfiles/modules/nixos/system/default.nix

15 lines
314 B
Nix
Raw Normal View History

2022-12-21 21:18:03 +00:00
{ config, pkgs, lib, ... }: {
2022-07-26 03:15:26 +00:00
2023-07-31 00:26:23 +00:00
imports =
[ ./auto-upgrade.nix ./doas.nix ./journald.nix ./user.nix ./timezone.nix ];
2022-07-26 03:15:26 +00:00
2022-12-21 21:18:03 +00:00
config = lib.mkIf pkgs.stdenv.isLinux {
# Pin a state version to prevent warnings
system.stateVersion =
config.home-manager.users.${config.user}.home.stateVersion;
};
2022-07-26 03:15:26 +00:00
}