about summary refs log tree commit diff
path: root/hosts/mba/default.nix
blob: 7d20580b998c6e1e4fd3b51b76c593d33b994c4c (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
{ pkgs, self, ... }:
{
  services.nix-daemon.enable = true;

  nix = {
    package = pkgs.nixFlakes;
    settings = {
      experimental-features = [ "nix-command" "flakes" ];
    };
  };

  # in order to install things like 1password's extensions
  nixpkgs.config.allowUnfree = true;

  programs.zsh.enable = true;

  users.users.fcuny.home = "/Users/fcuny";

  # Touch ID for sudo auth
  security.pam.enableSudoTouchIdAuth = true;

  home-manager.useGlobalPkgs = true;
  home-manager.useUserPackages = true;
  home-manager.users.fcuny = import ../../nix/profiles/home-manager/personal.nix { inherit pkgs self; };
}