1
Fork 0
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:
RGBCube 2025-06-07 17:59:34 +03:00
parent eec914e613
commit 0eb7eb7475
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 98 additions and 61 deletions

View file

@ -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 {