mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:06:35 +01:00
remove overlays module
This commit is contained in:
parent
3ce6095f3c
commit
6e2f86f587
5 changed files with 8 additions and 26 deletions
|
@ -13,7 +13,6 @@
|
|||
./minecraft-server
|
||||
./moodle-dl
|
||||
./nix
|
||||
./overlays
|
||||
./plasma
|
||||
./plasma/6.nix
|
||||
./printing
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue