-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
52 lines (41 loc) · 1.01 KB
/
configuration.nix
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ pkgs, inputs, ... }:
{
imports = [
./apps.nix
./fonts.nix
./system.nix
];
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix = {
package = pkgs.nix;
settings = {
experimental-features = [
"flakes"
"nix-command"
"fetch-closure"
];
auto-optimise-store = false; # TODO: Turn back on when https://github.com/NixOS/nix/issues/7273
keep-outputs = true;
keep-derivations = true;
builders-use-substitutes = true; # allow use of cached builds, require fast internet
};
registry = {
nixpkgs.flake = inputs.inputs.nixpkgs;
};
};
security.pam.enableSudoTouchIdAuth = true;
time.timeZone = "America/Toronto";
networking.localHostName = "mbpapp";
environment.systemPackages = with pkgs; [
fish
];
programs = {
fish.enable = true;
};
users.users.appaquet = {
home = "/Users/appaquet";
shell = "${pkgs.fish}/bin/fish";
};
system.stateVersion = 4;
}