diff --git a/kat/vscode.nix b/kat/vscode.nix index 195bb21b..5e534cd3 100644 --- a/kat/vscode.nix +++ b/kat/vscode.nix @@ -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; diff --git a/nixos/roles/monica-server.nix b/nixos/roles/monica-server.nix new file mode 100644 index 00000000..1da506c4 --- /dev/null +++ b/nixos/roles/monica-server.nix @@ -0,0 +1,9 @@ +_: { + services.monica = { + enable = true; + appURL = "https://monica.gensokyo.zone"; + nginx = { + serverName = "monica.gensokyo.zone"; + }; + }; +} \ No newline at end of file diff --git a/systems/chen.nix b/systems/chen.nix index 9bd226d7..49c778eb 100644 --- a/systems/chen.nix +++ b/systems/chen.nix @@ -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 diff --git a/tf/gensokyo-monica.tf b/tf/gensokyo-monica.tf new file mode 100644 index 00000000..bfb1f204 --- /dev/null +++ b/tf/gensokyo-monica.tf @@ -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 +} \ No newline at end of file