diff --git a/flake.lock b/flake.lock index 7eaaa204..1948f231 100644 --- a/flake.lock +++ b/flake.lock @@ -38,6 +38,25 @@ "type": "gitlab" } }, + "chuckya": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1753207361, + "narHash": "sha256-5MbufI01sB5Xje3LHp18HSzR6JfrrRDyTpEYg1Dedc0=", + "ref": "refs/heads/main", + "rev": "76efcf674823c2a9379c7f938562ca04cd64e6a8", + "revCount": 1, + "type": "git", + "url": "https://git.nixfox.ca/Bun/chuckya-flake.git" + }, + "original": { + "type": "git", + "url": "https://git.nixfox.ca/Bun/chuckya-flake.git" + } + }, "crane": { "locked": { "lastModified": 1750266157, @@ -199,6 +218,24 @@ "type": "github" } }, + "flake-utils_3": { + "inputs": { + "systems": "systems_3" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "git-hooks": { "inputs": { "flake-compat": [ @@ -379,7 +416,7 @@ "minecraft": { "inputs": { "flake-compat": "flake-compat_3", - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "nixpkgs": [ "stable" ] @@ -420,6 +457,22 @@ "type": "github" } }, + "nixpkgs": { + "locked": { + "lastModified": 1753115646, + "narHash": "sha256-yLuz5cz5Z+sn8DRAfNkrd2Z1cV6DaYO9JMrEz4KZo/c=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "92c2e04a475523e723c67ef872d8037379073681", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.05", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-25_05": { "locked": { "lastModified": 1747610100, @@ -486,8 +539,9 @@ "root": { "inputs": { "blender": "blender", + "chuckya": "chuckya", "disko": "disko", - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "hm": "hm", "impermanence": "impermanence", "jovian": "jovian", @@ -565,6 +619,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "unstable": { "locked": { "lastModified": 1751792365, diff --git a/flake.nix b/flake.nix index 4b5268db..3c5650ed 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,8 @@ inputs.nixpkgs.follows = "stable"; }; + chuckya.url = "git+https://git.nixfox.ca/Bun/chuckya-flake.git"; + minecraft = { url = "github:Infinidoge/nix-minecraft"; inputs.nixpkgs.follows = "stable"; diff --git a/modules/system/services/server/irc/default.nix b/modules/system/services/server/irc/default.nix new file mode 100644 index 00000000..4491c6a8 --- /dev/null +++ b/modules/system/services/server/irc/default.nix @@ -0,0 +1,14 @@ +{ ... }: +{ + services.ngircd = { + enable = true; + config = '' + [Global] + Name = irc.nixfox.ca + AdminInfo1 = NixFox IRC + AdminInfo2 = Canada + AdminEMail = contact@nixfox.ca + MotdPhrase = "Welcome to the NixFox chatroom!" + ''; + }; +} diff --git a/modules/system/services/server/mastodon/default.nix b/modules/system/services/server/mastodon/default.nix index 46dc75e5..b5054fc0 100644 --- a/modules/system/services/server/mastodon/default.nix +++ b/modules/system/services/server/mastodon/default.nix @@ -1,7 +1,10 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, chuckya, ... }: { config = lib.mkIf config.services.mastodon.enable { + nixpkgs.overlays = [ chuckya.overlays.default ]; + services.mastodon = { + package = pkgs.chuckya; localDomain = "social.${config.vars.primeDomain}"; streamingProcesses = 4; configureNginx = true;