1
0

default.nix 517 B

1234567891011121314151617181920212223242526272829
  1. {
  2. pkgs,
  3. lib,
  4. config,
  5. outputs,
  6. ...
  7. }:
  8. let
  9. homeLocation = with pkgs.stdenv.hostPlatform; if isDarwin then "/Users" else "/home";
  10. in
  11. {
  12. imports = [
  13. outputs.modules.global.nix-config
  14. ./cli
  15. ];
  16. manual.manpages.enable = false;
  17. xdg.enable = true;
  18. home = {
  19. username = lib.mkDefault "thomas";
  20. homeDirectory = lib.mkDefault "${homeLocation}/${config.home.username}";
  21. sessionVariables = {
  22. SHELL = "${pkgs.nushell}/bin/nu";
  23. };
  24. stateVersion = lib.mkDefault "24.11";
  25. };
  26. }