Added nix darwin

This commit is contained in:
Aleksandr Lebedev 2024-12-30 22:06:16 +01:00
parent 13c0c39daf
commit b720bcb09a
3 changed files with 58 additions and 1 deletions

View file

@ -31,6 +31,11 @@
nix-gaming.url = "github:fufexan/nix-gaming";
impermanence.url = "github:nix-community/impermanence";
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
@ -49,6 +54,12 @@
first-nixos-install = "1729112485"; #stat -c %W /
in
{
darwinConfigurations = {
"kylekrein-air" = inputs.nix-darwin.lib.darwinSystem {
specialArgs = { inherit self; };
modules = [ ./nixos/hosts/kylekrein-air ];
};
};
nixosConfigurations = {
"kylekrein-homepc" = nixpkgs.lib.nixosSystem {
specialArgs = {