30 lines
643 B
Nix
30 lines
643 B
Nix
{
|
|
description = "Ayman's Home Manager configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }:
|
|
let
|
|
mkHome = { system, modules }:
|
|
home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
modules = modules;
|
|
};
|
|
in
|
|
{
|
|
homeConfigurations = {
|
|
"ayman@archThinkpad" = mkHome {
|
|
system = "x86_64-linux";
|
|
modules = [ ./home/base.nix ];
|
|
};
|
|
};
|
|
};
|
|
}
|