Add fixapost

This commit is contained in:
Oliver Davies 2025-08-08 02:07:21 +01:00
parent 426edf6c84
commit fcc65505d0
3 changed files with 39 additions and 0 deletions

17
flake.lock generated
View file

@ -508,11 +508,28 @@
"nixpkgs-stable": "nixpkgs-stable",
"nixvim": "nixvim",
"nur": "nur",
"rwxrob-dot": "rwxrob-dot",
"standard-vim": "standard-vim",
"vim-heritage": "vim-heritage",
"vim-textobj-xmlattr": "vim-textobj-xmlattr"
}
},
"rwxrob-dot": {
"flake": false,
"locked": {
"lastModified": 1751898094,
"narHash": "sha256-kGpHL2l9p/yOtmG+AZvOb0Y5mH1d+Zoh2dd5N3Xjizc=",
"owner": "rwxrob",
"repo": "dot",
"rev": "90794c77061f270078e847af45c376610768c6e2",
"type": "github"
},
"original": {
"owner": "rwxrob",
"repo": "dot",
"type": "github"
}
},
"standard-vim": {
"flake": false,
"locked": {

View file

@ -60,6 +60,11 @@
url = "github:nix-community/NUR";
};
rwxrob-dot = {
flake = false;
url = "github:rwxrob/dot";
};
standard-vim = {
flake = false;
url = "github:tjdevries/standard.vim";

View file

@ -0,0 +1,17 @@
{ inputs, ... }:
{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication rec {
name = "fixapost";
runtimeInputs = [ pkgs.coreutils ];
text = builtins.readFile "${inputs.rwxrob-dot}/scripts/${name}";
})
];
};
}