fix evaluation warnings

This commit is contained in:
Noa Aarts 2025-04-30 21:02:50 +02:00
parent 3ac9af1546
commit 18b37f92e0
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 5 additions and 7 deletions

View file

@ -289,8 +289,7 @@ in
let
display_config =
let
display-shader = pkgs.substituteAll {
src = ../../modules/automapaper/display-with_vars.glsl;
display-shader = pkgs.replaceVars ../../modules/automapaper/display-with_vars.glsl {
background = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base00;
foreground = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base0E;
};

View file

@ -21,9 +21,6 @@ in
nbi = "nix build -L -f .";
ns = "nix shell -L";
};
initExtra = ''
[[ ! -r /home/noa/.opam/opam-init/init.zsh ]] || source /home/noa/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
'';
history = {
path = "${config.xdg.dataHome}/zsh/history";
size = 10000;

View file

@ -36,8 +36,7 @@ let
''
) displays;
in
pkgs.substituteAll {
src = ./template.kdl;
pkgs.replaceVars ./template.kdl {
terminal = terminal;
launcher = launcher;
power_menu = power-menu;
@ -45,4 +44,7 @@ pkgs.substituteAll {
displays = displays-string;
autostart = autostart-string;
DEFAULT_AUDIO_SINK = null;
DEFAULT_AUDIO_SOURCE = null;
}