dotfiles/nixos/system/default.nix

14 lines
276 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
imports = [ ./user.nix ./timezone.nix ./doas.nix ];
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
}