mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
Compare commits
7 commits
339a49447b
...
89791b21a8
Author | SHA1 | Date | |
---|---|---|---|
89791b21a8 | |||
78da69c2c7 | |||
3a491d5901 | |||
9566f2f397 | |||
b75737ac86 | |||
3f58ead2ff | |||
ed9e020177 |
8 changed files with 34 additions and 32 deletions
|
@ -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";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
16
lon.lock
16
lon.lock
|
@ -76,10 +76,10 @@
|
||||||
"fetchType": "tarball",
|
"fetchType": "tarball",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"branch": "release-24.05",
|
"branch": "release-24.11",
|
||||||
"revision": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
|
"revision": "f3111f62a23451114433888902a55cf0692b408d",
|
||||||
"url": "https://github.com/nix-community/home-manager/archive/2f23fa308a7c067e52dfcc30a0758f47043ec176.tar.gz",
|
"url": "https://github.com/nix-community/home-manager/archive/f3111f62a23451114433888902a55cf0692b408d.tar.gz",
|
||||||
"hash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM="
|
"hash": "sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c="
|
||||||
},
|
},
|
||||||
"home-manager-unstable": {
|
"home-manager-unstable": {
|
||||||
"type": "GitHub",
|
"type": "GitHub",
|
||||||
|
@ -166,10 +166,10 @@
|
||||||
"fetchType": "tarball",
|
"fetchType": "tarball",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"branch": "nixos-24.05",
|
"branch": "nixos-24.11",
|
||||||
"revision": "e8c38b73aeb218e27163376a2d617e61a2ad9b59",
|
"revision": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
|
||||||
"url": "https://github.com/nixos/nixpkgs/archive/e8c38b73aeb218e27163376a2d617e61a2ad9b59.tar.gz",
|
"url": "https://github.com/nixos/nixpkgs/archive/62c435d93bf046a5396f3016472e8f7c8e2aed65.tar.gz",
|
||||||
"hash": "sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g="
|
"hash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34="
|
||||||
},
|
},
|
||||||
"stateless-uptime-kuma": {
|
"stateless-uptime-kuma": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -64,11 +64,12 @@
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
database.passwordFile = "/run/agenix/keycloak-db";
|
database.passwordFile = "/run/agenix/keycloak-db";
|
||||||
settings = {
|
settings = {
|
||||||
hostname = "auth.julienmalka.me";
|
hostname = "https://auth.julienmalka.me";
|
||||||
hostname-admin-url = "https://auth.julienmalka.me";
|
hostname-admin-url = "https://auth.julienmalka.me";
|
||||||
http-port = 8080;
|
http-port = 8080;
|
||||||
hostname-strict-backchannel = true;
|
hostname-backchannel-dynamic = true;
|
||||||
proxy = "edge";
|
proxy-headers = "forwarded";
|
||||||
|
http-enabled = true;
|
||||||
};
|
};
|
||||||
themes = {
|
themes = {
|
||||||
keywind = pkgs.keycloak-keywind;
|
keywind = pkgs.keycloak-keywind;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
systemd.network.networks."10-wan" = {
|
systemd.network.networks."10-wan" = {
|
||||||
matchConfig.Name = "enp0s3";
|
matchConfig.Name = "enp0s3";
|
||||||
DHCP = "ipv4";
|
DHCP = "ipv4";
|
||||||
addresses = [ { addressConfig.Address = "2603:c027:c001:89aa:aad9:34b3:f3c9:924f"; } ];
|
addresses = [ { Address = "2603:c027:c001:89aa:aad9:34b3:f3c9:924f"; } ];
|
||||||
linkConfig.RequiredForOnline = "routable";
|
linkConfig.RequiredForOnline = "routable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -38,10 +38,10 @@
|
||||||
luj.nginx.enable = true;
|
luj.nginx.enable = true;
|
||||||
|
|
||||||
services.mysql.enable = true;
|
services.mysql.enable = true;
|
||||||
services.mysql.package = pkgs.mysql;
|
services.mysql.package = pkgs.mariadb;
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud29;
|
package = pkgs.nextcloud30;
|
||||||
https = true;
|
https = true;
|
||||||
hostName = "nuage.malka.family";
|
hostName = "nuage.malka.family";
|
||||||
settings.overwriteProtocol = "https";
|
settings.overwriteProtocol = "https";
|
||||||
|
|
|
@ -77,4 +77,6 @@ buildGoModule rec {
|
||||||
|
|
||||||
vendorHash = "sha256-U1vMIig2/mncH07o1AZ2mUor5lq5WmNsfY/X2GbSGQA=";
|
vendorHash = "sha256-U1vMIig2/mncH07o1AZ2mUor5lq5WmNsfY/X2GbSGQA=";
|
||||||
|
|
||||||
|
meta.mainProgram = "readeck";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue