{ pkgs, lib, inputs, ... }: { imports = [ ./homebrew.nix ./macos.nix ]; environment.systemPackages = with pkgs; [ (pkgs.vscodium.overrideAttrs (oldAttrs: { postInstall = (oldAttrs.postInstall or "") + '' substituteInPlace $out/Applications/VSCodium.app/Contents/Resources/app/product.json \ --replace '"extensionsGallery": {}' '"extensionsGallery": { "serviceUrl": "https://visualstudio.com", "cacheUrl": "https://windows.net", "itemUrl": "https://visualstudio.com", "controlUrl": "https://msecnd.net", "recommendationsUrl": "https://visualstudio.com/recommendations" }' ''; })) git ]; nyxs-nix.services ={ home ={ enable = true; isMacOS = true; }; }; security.pam.services.sudo_local.touchIdAuth = true; ids.gids.nixbld = 350; programs.fish.enable = true; environment.etc."nix-darwin".source = "/Users/nyxerinys/nix-config"; nixpkgs.config.allowUnfree = true; nix.settings.extra-platforms = [ "x86_64-darwin" "aarch64-darwin" ]; # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 4; # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin"; users.users.nyxerinys = { name = "nyxerinys"; home = "/Users/nyxerinys"; }; }