agenix.el

This commit is contained in:
Andrea Ciceri 2023-09-21 15:33:13 +02:00
parent b43f0e66c0
commit 0501e38359
No known key found for this signature in database
6 changed files with 219 additions and 14 deletions

207
flake.lock generated
View file

@ -1,5 +1,50 @@
{ {
"nodes": { "nodes": {
"agenix-el": {
"inputs": {
"bash-strict-mode": "bash-strict-mode",
"flake-parts": "flake-parts",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1687197914,
"narHash": "sha256-GsgBDopvhE0v7SNNJv+PYVJDgs7SMbDIrlexdszlQuI=",
"owner": "t4ccer",
"repo": "agenix.el",
"rev": "775eeedbd2b5b6a023d307cb08db5f8ec74eab00",
"type": "github"
},
"original": {
"owner": "t4ccer",
"repo": "agenix.el",
"type": "github"
}
},
"bash-strict-mode": {
"inputs": {
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"nixpkgs": [
"agenix-el",
"nixpkgs"
],
"shellcheck-nix-attributes": "shellcheck-nix-attributes"
},
"locked": {
"lastModified": 1673387613,
"narHash": "sha256-q5lyL21JBSpuDNNRQt65IzWD1Gra7LNf7nw3KkpSn78=",
"owner": "sellout",
"repo": "bash-strict-mode",
"rev": "4802d968b31bb5c748d3032f299f91a8d6d1280e",
"type": "github"
},
"original": {
"owner": "sellout",
"repo": "bash-strict-mode",
"type": "github"
}
},
"combobulate": { "combobulate": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -18,8 +63,8 @@
}, },
"emacs-overlay": { "emacs-overlay": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
@ -37,6 +82,27 @@
} }
}, },
"flake-parts": { "flake-parts": {
"inputs": {
"nixpkgs-lib": [
"agenix-el",
"nixpkgs"
]
},
"locked": {
"lastModified": 1673362319,
"narHash": "sha256-Pjp45Vnj7S/b3BRpZEVfdu8sqqA6nvVjvYu59okhOyI=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "82c16f1682cf50c01cb0280b38a1eed202b3fe9f",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
@ -55,6 +121,21 @@
} }
}, },
"flake-utils": { "flake-utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
}, },
@ -72,6 +153,53 @@
"type": "github" "type": "github"
} }
}, },
"home-manager": {
"inputs": {
"nixpkgs": [
"agenix-el",
"bash-strict-mode",
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1672244468,
"narHash": "sha256-xaZb8AZqoXRCSqPusCk4ouf+fUNP8UJdafmMTF1Ltlw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-22.11",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"agenix-el",
"nixpkgs"
],
"utils": "utils_2"
},
"locked": {
"lastModified": 1672244468,
"narHash": "sha256-xaZb8AZqoXRCSqPusCk4ouf+fUNP8UJdafmMTF1Ltlw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-22.11",
"repo": "home-manager",
"type": "github"
}
},
"indent-bars": { "indent-bars": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -107,16 +235,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1694422566, "lastModified": 1673391659,
"narHash": "sha256-lHJ+A9esOz9vln/3CJG23FV6Wd2OoOFbDeEs4cMGMqc=", "narHash": "sha256-iz4359AMaEhCIZPaLfOX2jLwMWxbLnKwiAp5l+s06nE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3a2786eea085f040a66ecde1bc3ddc7099f6dbeb", "rev": "9e00bb203130943ea98eb215950bbb42ceeef380",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "release-22.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -171,14 +299,47 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": {
"locked": {
"lastModified": 1694422566,
"narHash": "sha256-lHJ+A9esOz9vln/3CJG23FV6Wd2OoOFbDeEs4cMGMqc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3a2786eea085f040a66ecde1bc3ddc7099f6dbeb",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix-el": "agenix-el",
"combobulate": "combobulate", "combobulate": "combobulate",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"flake-parts": "flake-parts", "flake-parts": "flake-parts_2",
"indent-bars": "indent-bars", "indent-bars": "indent-bars",
"nix-ts-mode": "nix-ts-mode", "nix-ts-mode": "nix-ts-mode",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}
},
"shellcheck-nix-attributes": {
"flake": false,
"locked": {
"lastModified": 1586929030,
"narHash": "sha256-a0WyWaz+nMYFWI43Ip9EUnPuBW0O4EIiTzYZKGqNjss=",
"owner": "Fuuzetsu",
"repo": "shellcheck-nix-attributes",
"rev": "51b49d5fe65ece69eb5e2003396bf096083ec281",
"type": "github"
},
"original": {
"owner": "Fuuzetsu",
"repo": "shellcheck-nix-attributes",
"type": "github"
} }
}, },
"systems": { "systems": {
@ -195,6 +356,36 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"utils_2": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -19,6 +19,7 @@
# url = "github:aciceri/combobulate/nix"; # url = "github:aciceri/combobulate/nix";
flake = false; flake = false;
}; };
agenix-el.url = "github:t4ccer/agenix.el";
}; };
outputs = inputs @ {flake-parts, ...}: outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} { flake-parts.lib.mkFlake {inherit inputs;} {

10
packages/agenix-el.nix Normal file
View file

@ -0,0 +1,10 @@
{
trivialBuild,
src,
...
}:
trivialBuild {
inherit src;
version = "git";
pname = "agenix-el";
}

View file

@ -20,6 +20,7 @@
indent-bars-source = inputs.indent-bars; indent-bars-source = inputs.indent-bars;
nix-ts-mode-source = inputs.nix-ts-mode; nix-ts-mode-source = inputs.nix-ts-mode;
combobulate-source = inputs.combobulate; combobulate-source = inputs.combobulate;
agenix-el-source = inputs.agenix-el;
# tree-sitter-grammars = # tree-sitter-grammars =
# super.tree-sitter-grammars # super.tree-sitter-grammars
# // { # // {

View file

@ -57,6 +57,8 @@ with epkgs; [
}) })
org-roam org-roam
consult-org-roam consult-org-roam
(pkgs.callPackage ./agenix-el.nix {
ement src = pkgs.agenix-el-source;
inherit (epkgs) trivialBuild;
})
] ]