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