.dotfiles/profiles/darwin/nixos/default.nix
Swarsel 3a272b1fe6
feat!: dynamically create hosts
This commit completely restructures the flake. Hosts are now seperate
from profile configuration files in hosts/[system]. Nixos and Darwin
configurations will be built when present in the respective folders in hosts/
2024-12-10 22:50:57 +01:00

20 lines
357 B
Nix

{ self, ... }:
let
profilesPath = "${self}/profiles";
in
{
imports = [
"${profilesPath}/nixos/home-manager.nix"
];
nix.settings.experimental-features = "nix-command flakes";
nixpkgs = {
hostPlatform = "x86_64-darwin";
overlays = outputs.overlaysList;
config = {
allowUnfree = true;
};
};
system.stateVersion = 4;
}