Modify permittedInsecurePackages

This commit is contained in:
Dave Gallant
2024-03-10 11:18:57 -04:00
parent 2be6340eaf
commit de80f54c55
3 changed files with 13 additions and 10 deletions

12
flake.lock generated
View File

@@ -204,11 +204,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1709780214, "lastModified": 1710036095,
"narHash": "sha256-p4iDKdveHMhfGAlpxmkCtfQO3WRzmlD11aIcThwPqhk=", "narHash": "sha256-joYx0arQtHM/7VhUY5ByP+jlf8XeJkK2fBdri8vK918=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f945939fd679284d736112d3d5410eb867f3b31c", "rev": "f592a7ea771bc3c417f7e3026af615d0c6be84ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -220,11 +220,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1709677081, "lastModified": 1710021367,
"narHash": "sha256-tix36Y7u0rkn6mTm0lA45b45oab2cFLqAzDbJxeXS+c=", "narHash": "sha256-FuMVdWqXMT38u1lcySYyv93A7B8wU0EGzUr4t4jQu8g=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "880992dcc006a5e00dd0591446fdf723e6a51a64", "rev": "b94a96839afcc56de3551aa7472b8d9a3e77e05d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -23,7 +23,12 @@ in
hardware.opengl.enable = true; hardware.opengl.enable = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"nix-2.16.2"
];
};
networking = { networking = {
iproute2.enable = true; iproute2.enable = true;

View File

@@ -13,9 +13,7 @@
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = "x86_64-linux"; system = "x86_64-linux";
config.allowUnfree = true; config.allowUnfree = true;
config.permittedInsecurePackages = [ config.permittedInsecurePackages = [ ];
"electron-25.9.0" # caused by obsidian
];
}; };
defaultModules = [ defaultModules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager