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 = {
|
||||
modifications = (import ./overlays/modifications { inherit inputs; });
|
||||
additions = (import ./overlays/additions { inherit inputs; });
|
||||
};
|
||||
|
||||
nixosConfigurations =
|
||||
|
|
|
|||
|
|
@ -18,13 +18,10 @@
|
|||
|
||||
config = {
|
||||
nixpkgs = {
|
||||
overlays =
|
||||
(with outputs; [
|
||||
overlays.modifications
|
||||
])
|
||||
++ (with inputs; [
|
||||
niri-flake.overlays.niri
|
||||
]);
|
||||
overlays = with outputs.overlays; [
|
||||
modifications
|
||||
additions
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
overlay-files = [
|
||||
./helix.nix
|
||||
./spotify.nix
|
||||
./niri.nix
|
||||
];
|
||||
overlay-list = map (file: import file args) overlay-files;
|
||||
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; [
|
||||
spotify
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue