mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
fix: don't repeat pkgs.\w too much, add taplo, tokei, typos
This commit is contained in:
parent
79c9526b1b
commit
25d008fc47
13 changed files with 213 additions and 154 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) attrNames head mkAliasOptionModule mkIf;
|
||||
inherit (lib) attrNames attrValues head mkAliasOptionModule mkIf;
|
||||
in {
|
||||
imports = [(mkAliasOptionModule [ "secrets" ] [ "age" "secrets" ])];
|
||||
|
||||
|
@ -12,6 +12,10 @@ in {
|
|||
|
||||
environment = mkIf config.isDesktop {
|
||||
shellAliases.agenix = "agenix --identity ~/.ssh/id";
|
||||
systemPackages = [ pkgs.agenix ];
|
||||
systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
agenix
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue