blob: 6e59f7b19a2363fe608cbaa6645a9a2846d531d5 (
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
|
{ pkgs, ... }:
{
services.nix-daemon.enable = true;
nix = {
package = pkgs.nixFlakes;
gc = {
user = "root";
automatic = true;
interval = { Weekday = 0; Hour = 2; Minute = 0; };
options = "--delete-older-than 30d";
};
settings = {
trusted-users = [ "@admin" "fcuny" ];
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.users.fcuny = import ../../nix/profiles/home-manager/personal.nix;
}
|