nix: initial darwin config
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Sep 2022 12:46:55 +0530
1 files changed,
18 insertions(+),
1 deletions(-)
jump to
M
nix/flake.nix
→
nix/flake.nix
@@ -40,7 +40,24 @@ nvim-nightly = neovim.overlay;
prompt = prompt.overlay; }; - darwinConfigurations = { }; + darwinConfigurations = { + syl = darwin.lib.darwinSystem { + system = "x86_64-darwin"; + modules = [ + home-manager.darwinModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.user.icy = { + imports = [ ./darwin/home.nix ]; + _module.args.self = self; + _module.args.host = "syl"; + _module.args.inputs = inputs; + }; + } + ]; + }; + }; nixosConfigurations = { wyndle = nixpkgs.lib.nixosSystem {