nix-managed-macbook/flake.nix
Abhinav Sarkar 59d8d3fff0 flake.lock: Update
Flake lock file updates:

• Updated input 'fish-plugin-fzf':
    'github:PatrickF1/fzf.fish/9876f5f74aab7f58b0359341dc26bf4a0f2e9021' (2023-07-11)
  → 'github:PatrickF1/fzf.fish/883b78c8d7955b049f670a1e6ac74c0ea3d388ed' (2023-07-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/8d243f7da13d6ee32f722a3f1afeced150b6d4da' (2023-07-27)
  → 'github:nix-community/home-manager/6e1eff9aac0e8d84bda7f2d60ba6108eea9b7e79' (2023-08-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a9b47d85504bdd199e90846622c76aa0bfeabfac' (2023-07-25)
  → 'github:nixos/nixpkgs/90470003541507c3a419c84a9f22f5f78e1acbdc' (2023-08-08)
2023-08-12 11:33:50 +05:30

49 lines
1.3 KiB
Nix

{
description = "Home Manager configuration of Abhinav Sarkar";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?rev=90470003541507c3a419c84a9f22f5f78e1acbdc";
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};
'';
};
};
}