1
0
Fork 0
dotfiles/darwin-configuration.nix

47 lines
804 B
Nix
Raw Normal View History

2022-02-03 22:35:52 +00:00
{ pkgs, lib, ... }:
{
2022-02-06 14:03:02 +00:00
imports = [
./system/defaults.nix
./system/fonts.nix
];
2022-02-03 22:35:52 +00:00
nix = {
binaryCaches = [
"https://nix-community.cachix.org"
];
binaryCachePublicKeys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trustedUsers = [
"@admin"
];
extraOptions = ''
experimental-features = nix-command flakes
2022-03-02 22:31:45 +00:00
extra-platforms = x86_64-darwin
2022-02-03 22:35:52 +00:00
keep-derivations = true
keep-outputs = true
auto-optimise-store = true
'';
};
2022-02-05 22:30:49 +00:00
users = {
nix.configureBuildUsers = true;
users.daniel = {
home = "/Users/daniel";
};
};
2022-02-03 22:35:52 +00:00
environment = {
darwinConfig = "$HOME/.config/nixpkgs/darwin-configuration.nix";
};
services = {
nix-daemon.enable = true;
};
}