fixes and formatting

This commit is contained in:
Henry Hiles 2025-09-23 09:17:26 -04:00
commit 80cf48f1e8
No known key found for this signature in database
71 changed files with 746 additions and 1110 deletions

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
wrappers.fish = {
basePackage = pkgs.fish;
env.fish_greeting.value = "";

View file

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

View file

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