nixos configurations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
894 B

4 months ago
4 months ago
  1. {pkgs, settings, ...}:
  2. {
  3. imports = [
  4. ../modules/home/git.nix
  5. ../modules/home/zsh.nix
  6. ] ++ (if (builtins.pathExists ../modules/home/profiles/${settings.profile}.nix)
  7. then
  8. [ ../modules/home/profiles/${settings.profile}.nix ]
  9. else
  10. []
  11. );
  12. home.username = settings.user.name;
  13. home.homeDirectory = "/home/${settings.user.name}";
  14. # Let Home Manager install and manage itself.
  15. programs.home-manager.enable = true;
  16. # This value determines the Home Manager release that your
  17. # configuration is compatible with. This helps avoid breakage
  18. # when a new Home Manager release introduces backwards
  19. # incompatible changes.
  20. #
  21. # You can update Home Manager without changing this value. See
  22. # the Home Manager release notes for a list of state version
  23. # changes in each release.
  24. home.stateVersion = "23.11";
  25. }