2023-10-05 04:21:24 +00:00
|
|
|
{
|
|
|
|
description = "Home Manager configuration of tacocat";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-08 18:42:42 +00:00
|
|
|
outputs = inputs @ { nixpkgs, home-manager, ... }:
|
2023-10-05 04:21:24 +00:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2023-10-09 13:18:56 +00:00
|
|
|
# pkgs = import nixpkgs {
|
|
|
|
# inherit system;
|
|
|
|
# config = {
|
|
|
|
# allowUnfree = true;
|
|
|
|
# };
|
|
|
|
# };
|
2023-10-05 04:21:24 +00:00
|
|
|
in {
|
|
|
|
homeConfigurations."tacocat" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
|
|
|
|
# Specify your home configuration modules here, for example,
|
|
|
|
# the path to your home.nix.
|
|
|
|
modules = [ ./home.nix ];
|
|
|
|
|
|
|
|
# Optionally use extraSpecialArgs
|
|
|
|
# to pass through arguments to home.nix
|
2023-10-09 13:18:56 +00:00
|
|
|
extraSpecialArgs = {inherit inputs system;};
|
2023-10-05 04:21:24 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|