mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-30 01:05:37 +00:00
d021baa1bb
required because they don't share all attributes
14 lines
276 B
Nix
14 lines
276 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
imports = [ ./user.nix ./timezone.nix ./doas.nix ];
|
|
|
|
config = lib.mkIf pkgs.stdenv.isLinux {
|
|
|
|
# Pin a state version to prevent warnings
|
|
system.stateVersion =
|
|
config.home-manager.users.${config.user}.home.stateVersion;
|
|
|
|
};
|
|
|
|
}
|