Files
jsl-home/flake.nix
John Lancaster 6afd99827c 1password options
2025-06-30 23:21:22 -05:00

33 lines
827 B
Nix

{
description = "Home Manager configuration flake for JSL";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
_1password-shell-plugins.url = "github:1Password/shell-plugins";
};
outputs = { nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
lib = pkgs.lib;
in
{
homeManagerModules.default = { ... }: {
imports = [
./options.nix
./home.nix
./git.nix
inputs._1password-shell-plugins.hmModules.default
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password-cli"
];
};
};
}