dotfiles/system/flakes/Styx.nix

38 lines
856 B
Nix
Raw Normal View History

2022-07-29 18:13:31 +00:00
{ nixpkgs, home-manager, darwin, inputs, ... }:
let
overlay-x86 = _: _: { pkgs-x86 = import nixpkgs { system = "x86_64-darwin"; }; };
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
overlay-nifoc = inputs.nifoc-overlay.overlay;
nixpkgsConfig = {
overlays = [
overlay-x86
overlay-neovim
overlay-nifoc
];
config = {
allowUnfree = true;
allowBroken = true;
};
};
in
{
2022-08-01 20:39:14 +00:00
system = darwin.lib.darwinSystem {
2022-07-29 18:13:31 +00:00
system = "aarch64-darwin";
modules = [
../hosts/Styx.nix
home-manager.darwinModules.home-manager
{
nixpkgs = nixpkgsConfig;
2022-08-18 11:26:12 +00:00
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
2022-07-29 18:13:31 +00:00
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.daniel = import ../../home/hosts/Styx.nix;
}
];
};
}