start adding macos configuration

This commit is contained in:
Noah Masur
2022-06-12 17:46:26 -04:00
parent 2539151df9
commit 388e50d9d4
4 changed files with 232 additions and 2 deletions

18
hosts/macbook/default.nix Normal file
View File

@ -0,0 +1,18 @@
{ nixpkgs, darwin, home-manager, nur, globals, ... }:
# System configuration for my MacBook
darwin.lib.darwinSystem {
system = "x86_64-darwin";
specialArgs = { };
modules = [
globals
home-manager.darwinModules.home-manager
{
networking.hostName = "desktop";
gui.enable = true;
gui.compositor.enable = true;
nixpkgs.overlays = [ nur.overlay ];
}
../common.nix
];
}