Files
copnix/darwin/default.nix
T
2026-05-22 00:44:44 +03:00

46 lines
888 B
Nix

{
pkgs,
system,
...
}:
{
system.stateVersion = 6;
nixpkgs.hostPlatform = system;
users.users.elars = {
home = "/Users/elars";
shell = pkgs.zsh;
};
programs.zsh.enable = true;
nix.settings = {
experimental-features = [
"nix-command"
"flakes"
];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
system.defaults = {
dock.autohide = true;
finder.AppleShowAllExtensions = true;
NSGlobalDomain.AppleInterfaceStyle = "Dark";
NSGlobalDomain.KeyRepeat = 2;
NSGlobalDomain.InitialKeyRepeat = 15;
};
programs.nh = {
enable = true;
flake = "/Users/elars/copland";
};
}