Instll steam and the zfs_clone_send / zfs_clone_recv scripts.

This commit is contained in:
Tom Alexander
2025-01-11 13:48:46 -05:00
parent af07d43c18
commit 1acf889c68
8 changed files with 106 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
{ config, lib, ... }:
let
inherit (builtins) elem;
inherit (lib) getName mkOption;
inherit (lib.types) listOf str;
in
{
# Pending https://github.com/NixOS/nixpkgs/issues/55674
options.allowedUnfree = mkOption {
type = listOf str;
default = [ ];
};
config.nixpkgs.config.allowUnfreePredicate = p: elem (getName p) config.allowedUnfree;
}