37 lines
916 B
Nix
37 lines
916 B
Nix
|
|
{
|
||
|
|
description = "Home Manager configuration of ivan";
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
# Specify the source of Home Manager and Nixpkgs.
|
||
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||
|
|
home-manager = {
|
||
|
|
url = "github:nix-community/home-manager";
|
||
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
|
};
|
||
|
|
nix4nvchad = {
|
||
|
|
url = "github:nix-community/nix4nvchad";
|
||
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
outputs =
|
||
|
|
{ self, nixpkgs, home-manager, nix4nvchad, ... }@inputs:
|
||
|
|
let
|
||
|
|
system = "x86_64-linux";
|
||
|
|
pkgs = import nixpkgs { system = "x86_64-linux"; config = { allowUnfree = true; }; };
|
||
|
|
in
|
||
|
|
{
|
||
|
|
homeConfigurations."ivan" = home-manager.lib.homeManagerConfiguration {
|
||
|
|
inherit pkgs;
|
||
|
|
|
||
|
|
# Specify your home configuration modules here, for example,
|
||
|
|
# the path to your home.nix.
|
||
|
|
modules = [ ./home.nix ];
|
||
|
|
|
||
|
|
extraSpecialArgs = {
|
||
|
|
inherit inputs;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|