wrap niri and spotx overlays into overlay.modifications.
This commit is contained in:
parent
2f5ac0dfe1
commit
08aacf8c0d
7 changed files with 19 additions and 12 deletions
|
|
@ -95,6 +95,7 @@
|
||||||
|
|
||||||
overlays = {
|
overlays = {
|
||||||
modifications = (import ./overlays/modifications { inherit inputs; });
|
modifications = (import ./overlays/modifications { inherit inputs; });
|
||||||
|
additions = (import ./overlays/additions { inherit inputs; });
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
|
|
|
||||||
|
|
@ -18,13 +18,10 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays =
|
overlays = with outputs.overlays; [
|
||||||
(with outputs; [
|
modifications
|
||||||
overlays.modifications
|
additions
|
||||||
])
|
];
|
||||||
++ (with inputs; [
|
|
||||||
niri-flake.overlays.niri
|
|
||||||
]);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }@args:
|
||||||
|
final: prev:
|
||||||
|
let
|
||||||
|
inherit (prev) lib;
|
||||||
|
overlay-files = [
|
||||||
|
];
|
||||||
|
overlay-list = map (file: import file args) overlay-files;
|
||||||
|
in
|
||||||
|
(lib.composeManyExtensions overlay-list) final prev
|
||||||
|
|
@ -4,6 +4,8 @@ let
|
||||||
inherit (prev) lib;
|
inherit (prev) lib;
|
||||||
overlay-files = [
|
overlay-files = [
|
||||||
./helix.nix
|
./helix.nix
|
||||||
|
./spotify.nix
|
||||||
|
./niri.nix
|
||||||
];
|
];
|
||||||
overlay-list = map (file: import file args) overlay-files;
|
overlay-list = map (file: import file args) overlay-files;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
1
overlays/modifications/niri.nix
Normal file
1
overlays/modifications/niri.nix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{ inputs, ... }: inputs.niri-flake.overlays.niri
|
||||||
|
|
@ -1 +1 @@
|
||||||
|
{ inputs, ... }: inputs.oskars-dotfiles.overlays.spotx
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
|
||||||
inputs.oskars-dotfiles.overlays.spotx
|
|
||||||
];
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
spotify
|
spotify
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue