mirror of
https://github.com/fredrikr79/nixos.git
synced 2025-12-24 10:00:21 +01:00
fix issues that arose after nix flake update
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -45,6 +45,14 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
# overlays = [ qotd.overlays.default ];
|
||||
config.allowInsecurePredicate = pkg: let
|
||||
name = "${lib.getName pkg}-${lib.getVersion pkg}";
|
||||
byName = builtins.elem name [
|
||||
# "libxml2-2.13.8"
|
||||
];
|
||||
in if byName
|
||||
then lib.warn "Allowing insecure package: ${name}" true
|
||||
else false;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in
|
||||
@@ -80,7 +88,7 @@
|
||||
users.fredrikr = {
|
||||
imports = [
|
||||
./home.nix
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nixvim.homeModules.nixvim
|
||||
];
|
||||
};
|
||||
extraSpecialArgs = {
|
||||
|
||||
Reference in New Issue
Block a user