mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
treewide: get rid of attrValues pattern because nixd doesn't support goto def on it
This commit is contained in:
parent
30d4b5e421
commit
372df8b48a
11 changed files with 160 additions and 196 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) attrNames attrValues filterAttrs hasPrefix head mkAliasOptionModule mkIf;
|
||||
inherit (lib) attrNames filterAttrs hasPrefix head mkAliasOptionModule mkIf;
|
||||
in {
|
||||
imports = [(mkAliasOptionModule [ "secrets" ] [ "age" "secrets" ])];
|
||||
|
||||
|
@ -12,10 +12,8 @@ in {
|
|||
|
||||
environment = mkIf config.isDesktop {
|
||||
shellAliases.agenix = "agenix --identity ~/.ssh/id";
|
||||
systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
agenix
|
||||
;
|
||||
};
|
||||
systemPackages = [
|
||||
pkgs.agenix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue