system: remove nix import from core to system/default.nix

This commit is contained in:
Anthony Rodriguez 2024-11-06 16:28:22 +01:00
parent 4c06bbd772
commit 645c8cfbf0
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
3 changed files with 6 additions and 12 deletions

View file

@ -4,7 +4,6 @@
./users.nix ./users.nix
./security.nix ./security.nix
./networking.nix ./networking.nix
../nix
]; ];
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "en_US.UTF-8";

View file

@ -1,6 +1,7 @@
{ {
imports = [ imports = [
./core ./core
./nix
./hardware/printing.nix ./hardware/printing.nix
./hardware/fwupd.nix ./hardware/fwupd.nix

View file

@ -1,18 +1,12 @@
_: { _: {
nixpkgs = { nixpkgs = {
overlays = [
(_: prev: {
lib =
prev.lib
// import ../../lib {
inherit (prev) lib pkgs;
};
})
];
config = { config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = ["cinny-4.2.2" "cinny-unwrapped-4.2.2" "segger-jlink-qt4-796s" "openssl-1.1.1w"]; permittedInsecurePackages = [
"cinny-4.2.2"
"cinny-unwrapped-4.2.2"
"segger-jlink-qt4-796s"
];
segger-jlink.acceptLicense = true; segger-jlink.acceptLicense = true;
}; };
}; };