Flake : Use ls for overlays.
This commit is contained in:
parent
de67ac3508
commit
dcbb6c23c7
|
@ -115,9 +115,7 @@
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
in {
|
in {
|
||||||
imports = (ls ./module/common) ++ [
|
imports = (ls ./module/common) ++ (ls ./overlay) ++ [ ./user/Root.nix ];
|
||||||
./user/Root.nix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Function to create a host.
|
# Function to create a host.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
nixpkgs.overlays = [ (final: prev: {
|
# nixpkgs.overlays = [ (final: prev: {
|
||||||
yt-dlp = prev.yt-dlp.overrideAttrs (old: {
|
# yt-dlp = prev.yt-dlp.overrideAttrs (old: {
|
||||||
src = prev.fetchFromGitHub {
|
# src = prev.fetchFromGitHub {
|
||||||
owner = "yt-dlp";
|
# owner = "yt-dlp";
|
||||||
repo = "yt-dlp";
|
# repo = "yt-dlp";
|
||||||
rev = "2024.03.10";
|
# rev = "2024.03.10";
|
||||||
hash = "sha256-A6uciGErM4QgLrY5jMFGlPV2uH9O2cOhj5+IapyjVo0 = ";
|
# hash = "sha256-A6uciGErM4QgLrY5jMFGlPV2uH9O2cOhj5+IapyjVo0 = ";
|
||||||
};
|
# };
|
||||||
});
|
# });
|
||||||
})];
|
# })];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue