Abhinav Sarkar
a651a8c35b
Flake lock file updates: • Updated input 'fish-plugin-fzf': 'github:PatrickF1/fzf.fish/8d99f0caa30a626369541f80848ffdbf28e96acc' (2023-09-17) → 'github:PatrickF1/fzf.fish/46c7bc6354494be5d869d56a24a46823a9fdded0' (2023-11-10) • Updated input 'home-manager': 'github:nix-community/home-manager/f92a54fef4eacdbe86b0a2054054dd58b0e2a2a4' (2023-10-28) → 'github:nix-community/home-manager/691cbcc03af6ad1b5384c0e0e0b5f2298f58c5ce' (2023-11-11) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/90e85bc7c1a6fc0760a94ace129d3a1c61c3d035' (2023-10-29) → 'github:nixos/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)
49 lines
1.3 KiB
Nix
49 lines
1.3 KiB
Nix
{
|
|
description = "Home Manager configuration of Abhinav Sarkar";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?rev=ec750fd01963ab6b20ee1f0cb488754e8036d89d";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
dm-mono-font = {
|
|
url = "github:googlefonts/dm-mono";
|
|
flake = false;
|
|
};
|
|
fish-plugin-foreign-env = {
|
|
url = "github:oh-my-fish/plugin-foreign-env";
|
|
flake = false;
|
|
};
|
|
fish-plugin-fzf = {
|
|
url = "github:PatrickF1/fzf.fish";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, ... }:
|
|
let
|
|
system = "x86_64-darwin";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = { allowUnfree = true; };
|
|
};
|
|
in {
|
|
homeConfigurations.abhinav = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [ ./home.nix ];
|
|
extraSpecialArgs = { inherit inputs; };
|
|
};
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [ (import home-manager { inherit pkgs; }).home-manager just ];
|
|
shellHook = ''
|
|
export NIXPKGS_PATH=${pkgs.path};
|
|
'';
|
|
};
|
|
};
|
|
}
|