mirror of https://github.com/E-Almqvist/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
642 B
27 lines
642 B
{
|
|
description = "elal darwin nix config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager }:
|
|
let
|
|
system = "aarch64-darwin";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
homeConfigurations.elal = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
./home.nix
|
|
];
|
|
};
|
|
|
|
packages.${system}.default = self.homeConfigurations.elal.activationPackage;
|
|
};
|
|
}
|
|
|