1
0

thomas.nix 302 B

1234567891011121314151617
  1. { pkgs, lib, ... }:
  2. let
  3. homeLocation = with pkgs.stdenv.hostPlatform;
  4. if isDarwin then "/Users" else "/home";
  5. in
  6. {
  7. imports = [
  8. ../fish.nix
  9. ];
  10. environment.shells = [ pkgs.fish ];
  11. users.users.thomas = {
  12. home = lib.mkDefault "${homeLocation}/thomas";
  13. shell = pkgs.fish;
  14. };
  15. }