mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-12-06 15:40:58 +01:00
Auto: cleanup-2026-11-29T13-57-27Z
This commit is contained in:
1 parent
6c0216e1de
commit
979ca40cef
1 file changed
+44
-39
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user