mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
treewide: update flake lock
This commit is contained in:
parent
eec914e613
commit
0eb7eb7475
5 changed files with 98 additions and 61 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) attrNames attrValues head mkAliasOptionModule mkIf;
|
||||
inherit (lib) attrNames attrValues filterAttrs hasPrefix head mkAliasOptionModule mkIf;
|
||||
in {
|
||||
imports = [(mkAliasOptionModule [ "secrets" ] [ "age" "secrets" ])];
|
||||
|
||||
|
@ -7,7 +7,7 @@ in {
|
|||
(if config.isLinux then
|
||||
"/root/.ssh/id"
|
||||
else
|
||||
"/Users/${head <| attrNames <| config.users.users}/.ssh/id")
|
||||
"/Users/${head <| attrNames <| filterAttrs (_: value: value.home != null && hasPrefix "/Users/" value.home) config.users.users}/.ssh/id")
|
||||
];
|
||||
|
||||
environment = mkIf config.isDesktop {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue