dotfiles/flake.nix

32 lines
609 B
Nix
Raw Normal View History

2024-04-21 19:07:19 +00:00
{
description = "My dotfiles";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = {
nixpkgs,
flake-parts,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
2024-12-18 23:15:20 +00:00
perSystem = {
pkgs,
self',
...
}: {
packages.plow = pkgs.callPackage ./plow {};
2024-04-21 19:07:19 +00:00
devShells.default = pkgs.mkShellNoCC {
2024-12-18 23:15:20 +00:00
PLOW_FROM = "./home";
2024-04-21 19:07:19 +00:00
2024-12-18 23:15:20 +00:00
packages = [self'.packages.plow];
2024-04-21 19:07:19 +00:00
};
};
};
}