dotfiles/flake.nix

30 lines
613 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;
perSystem = {pkgs, ...}: {
devShells.default = pkgs.mkShellNoCC {
packages = [
(pkgs.writeShellApplication {
name = "plow";
text = builtins.readFile ./plow.sh;
})
];
};
};
};
}