blob: ae9a765bfbbd1ba235ee9d0f49a1842b2a8fb9e6 (
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
|
{ pkgs, ... }:
let user = "fcuny"; in
{
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" "${user}" ];
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/work.nix;
}
|