2023-01-31 09:38:11 +01:00
|
|
|
{
|
2023-02-10 07:46:37 +01:00
|
|
|
config,
|
2023-02-19 05:03:01 +01:00
|
|
|
lib,
|
2023-02-10 07:46:37 +01:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-02-20 08:58:46 +01:00
|
|
|
imports = [
|
|
|
|
./brew.nix
|
|
|
|
];
|
|
|
|
|
2023-02-20 09:09:29 +01:00
|
|
|
users.users.winston.home = "/Users/winston";
|
|
|
|
|
|
|
|
networking = let
|
|
|
|
name = "sashimi";
|
|
|
|
in {
|
|
|
|
computerName = name;
|
|
|
|
hostName = name;
|
|
|
|
localHostName = name;
|
|
|
|
};
|
|
|
|
|
2023-01-31 09:38:11 +01:00
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# $ darwin-rebuild changelog
|
|
|
|
system.stateVersion = 4;
|
|
|
|
|
|
|
|
security.pam.enableSudoTouchIdAuth = true;
|
|
|
|
system.defaults.alf.stealthenabled = 1;
|
|
|
|
|
|
|
|
services = {
|
2023-02-20 09:09:29 +01:00
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
|
|
nix-daemon.enable = true;
|
2023-03-01 20:47:27 +01:00
|
|
|
dnsmasq = {
|
|
|
|
enable = true;
|
|
|
|
addresses."test" = "127.0.0.1";
|
|
|
|
bind = "127.0.0.1";
|
|
|
|
};
|
2023-01-31 09:38:11 +01:00
|
|
|
};
|
|
|
|
}
|