| 1234567891011121314151617181920212223242526 |
- { pkgs, lib, config, outputs, ... }:
- let
- homeLocation = with pkgs.stdenv.hostPlatform;
- if isDarwin then "/Users" else "/home";
- in
- {
- imports = [
- outputs.homeManagerModules
- ./nix.nix
- ./cli
- ];
- manual.manpages.enable = false;
- xdg.enable = true;
- home = {
- username = lib.mkDefault "thomas";
- homeDirectory = lib.mkDefault "${homeLocation}/${config.home.username}";
- sessionVariables = {
- EDITOR = "${pkgs.neovim}/bin/nvim";
- SHELL = "${pkgs.nushell}/bin/nu";
- };
- stateVersion = lib.mkDefault "24.11";
- };
- }
|