nix-git/modules/base.home.nix

18 lines
736 B
Nix
Raw Normal View History

2023-09-02 15:38:49 +02:00
{ config, pkgs, ... }:
{
2023-09-05 17:55:36 +02:00
# This option may become the default value in the future.
# https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module
home-manager.useUserPackages = true;
# This saves an extra Nixpkgs evaluation, adds consistency,
# and removes the dependency on NIX_PATH, which is otherwise used for importing Nixpkgs.
# https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module
home-manager.useGlobalPkgs = true;
2023-09-05 17:58:40 +02:00
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
2023-09-02 15:38:49 +02:00
/* The home.stateVersion option does not have a default and must be set */
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
home.stateVersion = "23.05";
};
}