overlays priority
This commit is contained in:
parent
d7e02d7b05
commit
f91ca25c01
3 changed files with 5 additions and 6 deletions
|
|
@ -64,7 +64,6 @@
|
|||
nix = {
|
||||
inherit (nix-config) extraOptions;
|
||||
registry = {
|
||||
# nixpkgs = { from = { id = "nixpkgs"; type = "indirect"; }; to = { owner = "nixos"; repo = "nixpkgs"; type = "github"; }; };
|
||||
stable = { from = { id = "stable"; type = "indirect"; }; flake = inputs.nixpkgs; };
|
||||
unstable = { from = { id = "unstable"; type = "indirect"; }; flake = inputs.nixpkgs-u; };
|
||||
};
|
||||
|
|
@ -213,7 +212,6 @@
|
|||
};
|
||||
|
||||
flake = {
|
||||
|
||||
overlays = {
|
||||
default = inputs.self.overlays.packages;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
with config.nix-rice.lib;
|
||||
let
|
||||
theme = kitty-themes.getThemeByName "Nightfox";
|
||||
|
|
@ -51,7 +51,7 @@ in
|
|||
opacity = 0.95;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
nixpkgs.overlays = lib.mkAfter [
|
||||
(_self: super: {
|
||||
wl-lockscreen = super.wl-lockscreen.override {
|
||||
strPalette = palette.toRgbaShortHex rice.colorPalette;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ roboto
|
||||
, swaylock
|
||||
, writeScriptBin
|
||||
, writeShellScriptBin
|
||||
, wallpaper ? ../../wallpapers/n8ca4obsys991.png
|
||||
, font ? { package = roboto; name = "Roboto"; size = 10; }
|
||||
, strPalette ? {
|
||||
|
|
@ -8,8 +8,9 @@
|
|||
normal = { red = "ff0000ff"; green = "00ff00ff"; black = "000000ff"; };
|
||||
bright = { red = "ff1010ff"; green = "10ff10ff"; blue = "1010ffff"; };
|
||||
}
|
||||
}: writeScriptBin "wl-lockscreen" ''
|
||||
}: writeShellScriptBin "wl-lockscreen" ''
|
||||
# Using font package ${font.package}
|
||||
# ${builtins.toJSON strPalette}
|
||||
${swaylock}/bin/swaylock \
|
||||
--color "${strPalette.primary.background}" \
|
||||
--inside-ver-color "${strPalette.normal.green}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue