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 let
display_config = display_config =
let let
display-shader = pkgs.substituteAll { display-shader = pkgs.replaceVars ../../modules/automapaper/display-with_vars.glsl {
src = ../../modules/automapaper/display-with_vars.glsl;
background = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base00; background = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base00;
foreground = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base0E; foreground = inputs.nix-colors.lib.conversions.hexToGLSLVec config.lib.stylix.colors.base0E;
}; };

View file

@ -21,9 +21,6 @@ in
nbi = "nix build -L -f ."; nbi = "nix build -L -f .";
ns = "nix shell -L"; 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 = { history = {
path = "${config.xdg.dataHome}/zsh/history"; path = "${config.xdg.dataHome}/zsh/history";
size = 10000; size = 10000;

View file

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