mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 09:06:53 +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
|
./minecraft-server
|
||||||
./moodle-dl
|
./moodle-dl
|
||||||
./nix
|
./nix
|
||||||
./overlays
|
|
||||||
./plasma
|
./plasma
|
||||||
./plasma/6.nix
|
./plasma/6.nix
|
||||||
./printing
|
./printing
|
||||||
|
|
|
@ -34,6 +34,14 @@ in {
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.allowUnfree = true;
|
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;
|
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;
|
nix.enable = true;
|
||||||
plasma6.enable = true;
|
plasma6.enable = true;
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
overlays.enable = true;
|
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
asf.enable = true;
|
asf.enable = true;
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
audio = { enable = true; };
|
audio = { enable = true; };
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
local.enable = true;
|
local.enable = true;
|
||||||
overlays.enable = true;
|
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
plasma.enable = true;
|
plasma.enable = true;
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue