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.

29 lines
927 B

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