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.formatOnType" = false;
|
||||
};
|
||||
"files.eol" = "\n";
|
||||
"alejandra.program" = "${pkgs.alejandra}/bin/alejandra";
|
||||
"editor.fontFamily" = ''"Iosevka", "Font Awesome 6 Free", "Font Awesome 6 Brands"'';
|
||||
"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
|
||||
<<<<<<< HEAD
|
||||
hostConfig = {
|
||||
lib,
|
||||
tree,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
hostConfig = {lib, tree, modulesPath, inputs, pkgs, ...}: let
|
||||
inherit (lib.modules) mkForce mkAfter;
|
||||
}:
|
||||
let
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
imports = with tree; [
|
||||
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