aboutsummaryrefslogtreecommitdiff
path: root/machines/HQ-KWNY2VH41P.nix
blob: fc4340da3b2529ad6656bbef230efddc506757e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ pkgs, ... }:
{
  imports = [
    ../profiles/darwin.nix
    ../profiles/home-manager.nix
  ];

  users.users.fcuny = {
    home = "/Users/fcuny";
    shell = pkgs.fish;
  };

  environment.shells = [ pkgs.fish ];

  programs.fish.enable = true;
  programs.fish.shellInit = ''
    # Nix
    if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
      source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
    end
    # End Nix
  '';

  home-manager.users.fcuny = {
    home.stateVersion = "23.05";
    home.username = "fcuny";
    home.homeDirectory = "/Users/fcuny";
    imports = [
      ../home/profiles/mac.nix
      ../home/profiles/work.nix
    ];
    userinfo = {
      email = "fcuny@roblox.com";
      fullName = "Franck Cuny";
    };
  };
}