remove overlays module

This commit is contained in:
Johannes Jöns 2024-01-13 17:16:32 +01:00
parent 3ce6095f3c
commit 6e2f86f587
5 changed files with 8 additions and 26 deletions

View file

@ -13,7 +13,6 @@
./minecraft-server
./moodle-dl
./nix
./overlays
./plasma
./plasma/6.nix
./printing

View file

@ -34,6 +34,14 @@ in {
nixpkgs = {
config.allowUnfree = true;
overlays = [
self.inputs.prismlauncher.overlays.default
(_self: super: rec {
firefox-addons = self.inputs.firefox-addons.packages.${config.nixpkgs.hostPlatform.system};
localPkgs = self.outputs.packages.${config.nixpkgs.hostPlatform.system};
})
];
};
environment.etc = lib.mapAttrs' (name: value: { name = "nix/path/${name}"; value.source = value.flake; }) config.nix.registry;

View file

@ -1,23 +0,0 @@
{ config, lib, self, ... }:
let cfg = config.jopejoe1.overlays;
in {
options.jopejoe1.overlays = {
enable = lib.mkEnableOption "Enable Overlays";
};
config = lib.mkIf cfg.enable {
nixpkgs = {
overlays = [
self.inputs.prismlauncher.overlays.default
(_self: super: rec {
firefox-addons = self.inputs.firefox-addons.packages.${config.nixpkgs.hostPlatform.system};
localPkgs = self.outputs.packages.${config.nixpkgs.hostPlatform.system};
})
];
};
};
}

View file

@ -21,7 +21,6 @@
nix.enable = true;
plasma6.enable = true;
printing.enable = true;
overlays.enable = true;
steam.enable = true;
ssh.enable = true;
asf.enable = true;

View file

@ -10,7 +10,6 @@
audio = { enable = true; };
bluetooth.enable = true;
local.enable = true;
overlays.enable = true;
nix.enable = true;
plasma.enable = true;
sway.enable = true;