mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -06:00
feat: temporarily allowed broken packages
This commit is contained in:
parent
25c1ea0d4f
commit
03345b461e
1 changed files with 1 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ in
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
allowBroken = true;
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"electron-unwrapped-33.0.2"
|
"electron-unwrapped-33.0.2"
|
||||||
"electron-31.7.7"
|
"electron-31.7.7"
|
||||||
|
|
@ -20,7 +21,6 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
@ -41,9 +41,7 @@ in
|
||||||
environment.etc."current-system-packages".text =
|
environment.etc."current-system-packages".text =
|
||||||
let
|
let
|
||||||
packages = builtins.map (p: "${p.name}") config.environment.systemPackages;
|
packages = builtins.map (p: "${p.name}") config.environment.systemPackages;
|
||||||
|
|
||||||
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
|
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
|
||||||
|
|
||||||
formatted = builtins.concatStringsSep "\n" sortedUnique;
|
formatted = builtins.concatStringsSep "\n" sortedUnique;
|
||||||
in
|
in
|
||||||
formatted;
|
formatted;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue