snapshot pre-cleanup-2026-05-23T19-39-41Z

This commit is contained in:
2026-05-23 23:32:28 +02:00
parent c8ee6d85fe
commit 30e8029a6b
35 changed files with 353 additions and 229 deletions
+22 -17
View File
@@ -24,22 +24,27 @@
import-tree.url = "github:vic/import-tree"; # imports ./modules recursively
};
outputs = inputs @ { flake-parts, ... }:
/*@ inputs: let
unfreePkgs = [
"hplip"
"vivify.vim"
"cheatsheet.nvim"
];
mkUnfreePredicate = pkg:
builtins.elem (nixpkgs.lib.getName pkg) unfreePkgs;
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfreePredicate = mkUnfreePredicate;
};
in */
flake-parts.lib.mkFlake { inherit inputs; }
(inputs.import-tree ./modules);
({
flake = let
system = "x86_64-linux";
unfreePkgs = [
"hplip"
"vivify.vim"
"cheatsheet.nvim"
];
mkUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs;
mkPkgs = nixpkgsInput:
import nixpkgsInput {
inherit system;
config.allowUnfreePredicate = mkUnfreePredicate;
};
pkgs = mkPkgs inputs.nixpkgs;
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
in {
inherit pkgs pkgs-unstable;
};
}
// (inputs.import-tree ./modules));
}