mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Monica
This commit is contained in:
parent
efa2f4a5e8
commit
0686cac613
4 changed files with 21 additions and 4 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
"editor.formatOnType" = false;
|
"editor.formatOnType" = false;
|
||||||
};
|
};
|
||||||
|
"files.eol" = "\n";
|
||||||
"alejandra.program" = "${pkgs.alejandra}/bin/alejandra";
|
"alejandra.program" = "${pkgs.alejandra}/bin/alejandra";
|
||||||
"editor.fontFamily" = ''"Iosevka", "Font Awesome 6 Free", "Font Awesome 6 Brands"'';
|
"editor.fontFamily" = ''"Iosevka", "Font Awesome 6 Free", "Font Awesome 6 Brands"'';
|
||||||
"editor.fontLigatures" = true;
|
"editor.fontLigatures" = true;
|
||||||
|
|
|
||||||
9
nixos/roles/monica-server.nix
Normal file
9
nixos/roles/monica-server.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
_: {
|
||||||
|
services.monica = {
|
||||||
|
enable = true;
|
||||||
|
appURL = "https://monica.gensokyo.zone";
|
||||||
|
nginx = {
|
||||||
|
serverName = "monica.gensokyo.zone";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
_: let
|
_: let
|
||||||
<<<<<<< HEAD
|
|
||||||
hostConfig = {
|
hostConfig = {
|
||||||
lib,
|
lib,
|
||||||
tree,
|
tree,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
hostConfig = {lib, tree, modulesPath, inputs, pkgs, ...}: let
|
let
|
||||||
inherit (lib.modules) mkForce mkAfter;
|
inherit (lib.modules) mkForce;
|
||||||
in {
|
in {
|
||||||
imports = with tree; [
|
imports = with tree; [
|
||||||
inputs.wsl.nixosModules.wsl
|
inputs.wsl.nixosModules.wsl
|
||||||
|
|
|
||||||
8
tf/gensokyo-monica.tf
Normal file
8
tf/gensokyo-monica.tf
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
resource "cloudflare_record" "monica" {
|
||||||
|
name = "monica"
|
||||||
|
proxied = true
|
||||||
|
ttl = 1
|
||||||
|
type = "CNAME"
|
||||||
|
value = "yukari.gensokyo.zone"
|
||||||
|
zone_id = local.zone_ids.gensokyo
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue