fix(eval): silence some eval warnings

This commit is contained in:
Julien Malka 2024-12-01 17:58:31 +01:00
parent 3a491d5901
commit 78da69c2c7
Signed by: Luj
GPG key ID: 6FC74C847011FD83
4 changed files with 19 additions and 18 deletions

View file

@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
let let
cfg = config.luj.programs.kitty; cfg = config.luj.programs.kitty;
in in
@ -23,7 +28,7 @@ with lib;
name = "FiraCode Nerd Font Mono Reg"; name = "FiraCode Nerd Font Mono Reg";
package = with pkgs; (nerdfonts.override { fonts = [ "FiraCode" ]; }); package = with pkgs; (nerdfonts.override { fonts = [ "FiraCode" ]; });
}; };
theme = "Catppuccin-Mocha"; themeFile = "Catppuccin-Mocha";
}; };
}; };

View file

@ -58,10 +58,8 @@
]; ];
routes = [ routes = [
{ {
routeConfig = { Gateway = "163.172.91.1";
Gateway = "163.172.91.1"; Destination = "0.0.0.0/0";
Destination = "0.0.0.0/0";
};
} }
]; ];
dhcpV6Config = { dhcpV6Config = {

View file

@ -59,12 +59,10 @@
}; };
wireguardPeers = [ wireguardPeers = [
{ {
wireguardPeerConfig = { PublicKey = "oYsN1Qy+a7dwVOKapN5s5KJOmhSflLHZqh+GLMeNpHw=";
PublicKey = "oYsN1Qy+a7dwVOKapN5s5KJOmhSflLHZqh+GLMeNpHw="; AllowedIPs = [ "0.0.0.0/0" ];
AllowedIPs = [ "0.0.0.0/0" ]; Endpoint = "[${lib.snowfield.akhaten.ips.public.ipv6}]:51821";
Endpoint = "[${lib.snowfield.akhaten.ips.public.ipv6}]:51821"; PersistentKeepalive = 25;
PersistentKeepalive = 25;
};
} }
]; ];
}; };
@ -73,16 +71,14 @@
matchConfig.Name = "wg0"; matchConfig.Name = "wg0";
addresses = [ addresses = [
{ {
addressConfig.Address = "10.100.45.2/24"; Address = "10.100.45.2/24";
addressConfig.AddPrefixRoute = false; AddPrefixRoute = false;
} }
]; ];
routes = [ routes = [
{ {
routeConfig = { Gateway = "10.100.45.1";
Gateway = "10.100.45.1"; Destination = "10.100.45.0/24";
Destination = "10.100.45.0/24";
};
} }
]; ];
DHCP = "no"; DHCP = "no";

View file

@ -77,4 +77,6 @@ buildGoModule rec {
vendorHash = "sha256-U1vMIig2/mncH07o1AZ2mUor5lq5WmNsfY/X2GbSGQA="; vendorHash = "sha256-U1vMIig2/mncH07o1AZ2mUor5lq5WmNsfY/X2GbSGQA=";
meta.mainProgram = "readeck";
} }