dotfiles/flake.nix
2024-04-21 21:07:19 +02:00

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;
})
];
};
};
};
}