Update stdenv.isLinux and stdenv.isDarwin calls

This commit is contained in:
2026-08-31 20:30:05 +02:00
parent 08c2eb8bfe
commit daf7eb8d75
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -34,11 +34,11 @@ in {
secrets = let
mkSecret = name: {
${name} = lib.mkMerge [
(lib.optionalAttrs pkgs.stdenv.isLinux {
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
owner = config.users.users.${username}.name;
group = config.users.users.${username}.group;
})
(lib.optionalAttrs pkgs.stdenv.isDarwin {
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
owner = config.users.users.${username}.name;
group = "staff"; # Apparently there's no way to get the primary group?
})