30 lines
613 B
Nix
30 lines
613 B
Nix
{
|
|
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;
|
|
})
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|