mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 16:32:56 +00:00
17 lines
368 B
Nix
17 lines
368 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;
|
|
|
|
# This setting only applies to NixOS, different on Darwin
|
|
nix.gc.dates = "weekly";
|
|
|
|
};
|
|
|
|
}
|