From 979ca40cef27a855a36a0fbdf77b56e0480a187a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Sun, 29 Nov 2026 14:57:48 +0100 Subject: [PATCH] Auto: cleanup-2026-11-29T13-57-27Z --- flake.nix | 83 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 39 deletions(-) diff --git a/flake.nix b/flake.nix index fb081d7..3956dd5 100644 --- a/flake.nix +++ b/flake.nix @@ -33,11 +33,13 @@ inputs.flake-utils.follows = "flake-utils"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; - /*patent = { # Broken + /* + patent = { # Broken url = "github:r14dd/patent"; inputs.flake-utils.follows = "flake-utils"; inputs.nixpkgs.follows = "nixpkgs-unstable"; - };*/ + }; + */ caelestia-shell = { # based on quickshell. See https://github.com/caelestia-dots/shell url = "github:caelestia-dots/shell"; @@ -62,41 +64,43 @@ }; import-tree.url = "github:vic/import-tree"; # imports ./modules recursively }; - /*outputs = inputs @ {flake-parts, ...}: - flake-parts.lib.mkFlake {inherit inputs;} - ({ - flake = let - system = "x86_64-linux"; - unfreePkgs = [ - "code" - "hplip" - "nvidia-x11" - "nvidia-settings" - "steam" - "steam-unwrapped" - "cheatsheet.nvim" - "vscode" - "vscode-fhs" - "zoom-us" - "zoom" - ]; - 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; - pkgs-local = mkPkgs inputs.nixpkgs-unstable; - #pkgs-local = mkPkgs inputs.nixpkgs-local; - pkgs-master = mkPkgs inputs.nixpkgs-master; - in { - inherit pkgs pkgs-unstable pkgs-local pkgs-master; - }; - } - // (inputs.import-tree ./modules));*/ + /* + outputs = inputs @ {flake-parts, ...}: + flake-parts.lib.mkFlake {inherit inputs;} + ({ + flake = let + system = "x86_64-linux"; + unfreePkgs = [ + "code" + "hplip" + "nvidia-x11" + "nvidia-settings" + "steam" + "steam-unwrapped" + "cheatsheet.nvim" + "vscode" + "vscode-fhs" + "zoom-us" + "zoom" + ]; + 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; + pkgs-local = mkPkgs inputs.nixpkgs-unstable; + #pkgs-local = mkPkgs inputs.nixpkgs-local; + pkgs-master = mkPkgs inputs.nixpkgs-master; + in { + inherit pkgs pkgs-unstable pkgs-local pkgs-master; + }; + } + // (inputs.import-tree ./modules)); + */ outputs = inputs @ {flake-parts, ...}: flake-parts.lib.mkFlake {inherit inputs;} @@ -122,12 +126,13 @@ "zoom" ]; - insecurePkgs = [ # We use predicates (name + version) and not the name for security reasons. + insecurePkgs = [ + # We use predicates (name + version) and not the name for security reasons. "qutebrowser-3.7.0" # Still accepts eMudhra TLS certs. # We only use it with to view vivify outputs, so no problem ]; mkUnfreePredicate = pkg: - builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs; + builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs; mkPkgs = nixpkgsInput: import nixpkgsInput {