Nix-Config/hosts/artemis/default.nix

39 lines
No EOL
977 B
Nix

{ pkgs, lib, inputs, ... }:
{
imports = [
./homebrew.nix
./macos.nix
];
environment.systemPackages = with pkgs; [
vscodium
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";
};
}