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.
29 lines
726 B
29 lines
726 B
{
|
|
description = "Home Manager configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager }:
|
|
let
|
|
system = "x86_64-darwin";
|
|
in
|
|
{
|
|
homeConfigurations = {
|
|
username = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = import nixpkgs { inherit system; };
|
|
modules = [
|
|
home-manager.homeManagerConfiguration {
|
|
home.stateVersion = "23.05";
|
|
imports = [
|
|
./home.nix
|
|
];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|