mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 22:45:37 +00:00
23 lines
332 B
Nix
23 lines
332 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;
|
|
};
|
|
}
|