fixes and formatting
This commit is contained in:
parent
a6c96c23ae
commit
80cf48f1e8
71 changed files with 746 additions and 1110 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
wrappers.fish = {
|
||||
basePackage = pkgs.fish;
|
||||
env.fish_greeting.value = "";
|
||||
|
|
|
|||
|
|
@ -4,13 +4,15 @@
|
|||
dirUtils,
|
||||
type,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
(inputs.wrapper-manager.lib {
|
||||
inherit pkgs;
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = with dirUtils; dirFiles ".nix" ./common ++ opt (type == "desktop") (dirFiles ".nix" ./desktop);
|
||||
})
|
||||
.config.build.toplevel
|
||||
specialArgs = { inherit inputs; };
|
||||
modules =
|
||||
with dirUtils;
|
||||
dirFiles ".nix" ./common ++ opt (type == "desktop") (dirFiles ".nix" ./desktop);
|
||||
}).config.build.toplevel
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,20 +2,26 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
wrappers.agenix = {
|
||||
basePackage = inputs.agenix-cli.packages.${pkgs.system}.default;
|
||||
|
||||
env.AGENIX_ROOT.value = let
|
||||
path = ".agenix.toml";
|
||||
in
|
||||
pkgs.writeTextDir path (builtins.readFile (pkgs.writers.writeTOML path {
|
||||
paths = [
|
||||
{
|
||||
glob = "**";
|
||||
identities = import ../../secrets/keys.nix;
|
||||
env.AGENIX_ROOT.value =
|
||||
let
|
||||
path = ".agenix.toml";
|
||||
in
|
||||
pkgs.writeTextDir path (
|
||||
builtins.readFile (
|
||||
pkgs.writers.writeTOML path {
|
||||
paths = [
|
||||
{
|
||||
glob = "**";
|
||||
identities = import ../../secrets/keys.nix;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}));
|
||||
)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue