1
0

default.nix 511 B

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