Add config to test Seance

main
Ashelyn Rose 1 year ago
parent d3f3acfba7
commit c5f644a26a

@ -84,7 +84,7 @@
}, },
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_9" "nixpkgs": "nixpkgs_10"
}, },
"locked": { "locked": {
"lastModified": 1679567394, "lastModified": 1679567394,
@ -146,6 +146,21 @@
} }
}, },
"nix-filter_4": { "nix-filter_4": {
"locked": {
"lastModified": 1694857738,
"narHash": "sha256-bxxNyLHjhu0N8T3REINXQ2ZkJco0ABFPn6PIe2QUfqo=",
"owner": "numtide",
"repo": "nix-filter",
"rev": "41fd48e00c22b4ced525af521ead8792402de0ea",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "nix-filter",
"type": "github"
}
},
"nix-filter_5": {
"locked": { "locked": {
"lastModified": 1681154353, "lastModified": 1681154353,
"narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=", "narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=",
@ -160,7 +175,7 @@
"type": "github" "type": "github"
} }
}, },
"nix-filter_5": { "nix-filter_6": {
"locked": { "locked": {
"lastModified": 1681154353, "lastModified": 1681154353,
"narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=", "narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=",
@ -175,7 +190,7 @@
"type": "github" "type": "github"
} }
}, },
"nix-filter_6": { "nix-filter_7": {
"locked": { "locked": {
"lastModified": 1681154353, "lastModified": 1681154353,
"narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=", "narHash": "sha256-MCJ5FHOlbfQRFwN0brqPbCunLEVw05D/3sRVoNVt2tI=",
@ -207,6 +222,20 @@
} }
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": {
"lastModified": 1684759798,
"narHash": "sha256-Kpbf5yKvKcj/yPqE1zYC6gju4JwTsYxTIZEvOII0jr4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c7eb65213bd7d95eafb8c5e2e181f04da103d054",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_11": {
"locked": { "locked": {
"lastModified": 1684759798, "lastModified": 1684759798,
"narHash": "sha256-Kpbf5yKvKcj/yPqE1zYC6gju4JwTsYxTIZEvOII0jr4=", "narHash": "sha256-Kpbf5yKvKcj/yPqE1zYC6gju4JwTsYxTIZEvOII0jr4=",
@ -288,11 +317,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1687026603, "lastModified": 1694928810,
"narHash": "sha256-4uVirBZbSgpVtkoRXD4IxTe9UXRcIKhxT4CUK+3Bby8=", "narHash": "sha256-M/3+pRQmM+FeBeSKRp0b01pncbNiiC2ggJE4Wpi7c1Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bbce166d72307eda55c9a62b9d70e1f42d887ec8", "rev": "948e8754755a9f27587d5bd109af2cfad313add8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -304,11 +333,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1686979235, "lastModified": 1687026603,
"narHash": "sha256-gBlBtk+KrezFkfMrZw6uwTuA7YWtbFciiS14mEoTCo0=", "narHash": "sha256-4uVirBZbSgpVtkoRXD4IxTe9UXRcIKhxT4CUK+3Bby8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7cc30fd5372ddafb3373c318507d9932bd74aafe", "rev": "bbce166d72307eda55c9a62b9d70e1f42d887ec8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -320,11 +349,11 @@
}, },
"nixpkgs_8": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1685005470, "lastModified": 1686979235,
"narHash": "sha256-Nw+4uivzCwyZcEB71YH58zYk4N5UgcNeqb+D52bjlhI=", "narHash": "sha256-gBlBtk+KrezFkfMrZw6uwTuA7YWtbFciiS14mEoTCo0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "60a2bc32e7369caf2f009f701ca98a8622abfdb3", "rev": "7cc30fd5372ddafb3373c318507d9932bd74aafe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -336,16 +365,18 @@
}, },
"nixpkgs_9": { "nixpkgs_9": {
"locked": { "locked": {
"lastModified": 1684759798, "lastModified": 1685005470,
"narHash": "sha256-Kpbf5yKvKcj/yPqE1zYC6gju4JwTsYxTIZEvOII0jr4=", "narHash": "sha256-Nw+4uivzCwyZcEB71YH58zYk4N5UgcNeqb+D52bjlhI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c7eb65213bd7d95eafb8c5e2e181f04da103d054", "rev": "60a2bc32e7369caf2f009f701ca98a8622abfdb3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"type": "indirect" "ref": "master",
"repo": "nixpkgs",
"type": "github"
} }
}, },
"private": { "private": {
@ -354,11 +385,11 @@
"utils": "utils_5" "utils": "utils_5"
}, },
"locked": { "locked": {
"lastModified": 1694552009, "lastModified": 1694970110,
"narHash": "sha256-j9D+zQBZ8GPP5udeEIX04XOrYduGg4smBfQOy02AF7o=", "narHash": "sha256-k/AA4qK1H7m8Lwal6W1sY2+7iyjg6p7BJOctKtbD4O0=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "6175184982d8ef71e2147cc53bc58f415e33c4ff", "rev": "86361e2fc09e0c288b212100008bd07434bd539a",
"revCount": 11, "revCount": 12,
"type": "git", "type": "git",
"url": "ssh://git@git.tempest.dev/ashe/nixos-config-private" "url": "ssh://git@git.tempest.dev/ashe/nixos-config-private"
}, },
@ -375,12 +406,33 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"private": "private", "private": "private",
"seance": "seance",
"tempest-contact": "tempest-contact", "tempest-contact": "tempest-contact",
"tempest-secret": "tempest-secret", "tempest-secret": "tempest-secret",
"tempestdev": "tempestdev", "tempestdev": "tempestdev",
"tmpfiles": "tmpfiles" "tmpfiles": "tmpfiles"
} }
}, },
"seance": {
"inputs": {
"nix-filter": "nix-filter_4",
"nixpkgs": "nixpkgs_6",
"utils": "utils_6"
},
"locked": {
"lastModified": 1694937094,
"narHash": "sha256-6Ce7Q7V+eo92eUPEMeQ+2dWGdqDtlXxCLiEYT4fp80U=",
"ref": "refs/heads/nix",
"rev": "4ff992755fe5b4cfabad83f373cc1e4e912f5de6",
"revCount": 80,
"type": "git",
"url": "ssh://git@git.tempest.dev/ashe/seance"
},
"original": {
"type": "git",
"url": "ssh://git@git.tempest.dev/ashe/seance"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@ -396,6 +448,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_10": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": { "systems_2": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@ -518,9 +585,9 @@
}, },
"tempest-contact": { "tempest-contact": {
"inputs": { "inputs": {
"nix-filter": "nix-filter_4", "nix-filter": "nix-filter_5",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_7",
"utils": "utils_6" "utils": "utils_7"
}, },
"locked": { "locked": {
"lastModified": 1687029231, "lastModified": 1687029231,
@ -538,9 +605,9 @@
}, },
"tempest-secret": { "tempest-secret": {
"inputs": { "inputs": {
"nix-filter": "nix-filter_5", "nix-filter": "nix-filter_6",
"nixpkgs": "nixpkgs_7", "nixpkgs": "nixpkgs_8",
"utils": "utils_7" "utils": "utils_8"
}, },
"locked": { "locked": {
"lastModified": 1685398072, "lastModified": 1685398072,
@ -558,9 +625,9 @@
}, },
"tempestdev": { "tempestdev": {
"inputs": { "inputs": {
"nix-filter": "nix-filter_6", "nix-filter": "nix-filter_7",
"nixpkgs": "nixpkgs_8", "nixpkgs": "nixpkgs_9",
"utils": "utils_8" "utils": "utils_9"
}, },
"locked": { "locked": {
"lastModified": 1692434292, "lastModified": 1692434292,
@ -579,8 +646,8 @@
"tmpfiles": { "tmpfiles": {
"inputs": { "inputs": {
"naersk": "naersk", "naersk": "naersk",
"nixpkgs": "nixpkgs_10", "nixpkgs": "nixpkgs_11",
"utils": "utils_9" "utils": "utils_10"
}, },
"locked": { "locked": {
"lastModified": 1684903753, "lastModified": 1684903753,
@ -614,6 +681,24 @@
"type": "github" "type": "github"
} }
}, },
"utils_10": {
"inputs": {
"systems": "systems_10"
},
"locked": {
"lastModified": 1681202837,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"utils_2": { "utils_2": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_2"
@ -691,11 +776,11 @@
"systems": "systems_6" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1685518550, "lastModified": 1694529238,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -727,11 +812,11 @@
"systems": "systems_8" "systems": "systems_8"
}, },
"locked": { "locked": {
"lastModified": 1681202837, "lastModified": 1685518550,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "cfacdce06f30d2b68473a46042957675eebb3401", "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github" "type": "github"
}, },
"original": { "original": {

@ -11,9 +11,10 @@
gotosocial.url = "git+http://git.tempest.dev/ashe/nixos-wrapper-gotosocial"; gotosocial.url = "git+http://git.tempest.dev/ashe/nixos-wrapper-gotosocial";
ashen-earth.url = "git+ssh://git@git.tempest.dev/ashe/ashen-earth"; ashen-earth.url = "git+ssh://git@git.tempest.dev/ashe/ashen-earth";
drowning.url = "git+http://git.tempest.dev/ashe/drowning-among-stars"; drowning.url = "git+http://git.tempest.dev/ashe/drowning-among-stars";
seance.url = "git+ssh://git@git.tempest.dev/ashe/seance";
}; };
outputs = { self, nixpkgs, home-manager, private, tmpfiles, tempestdev, tempest-secret, tempest-contact, gotosocial, ashen-earth, drowning }: { outputs = { self, nixpkgs, home-manager, private, tmpfiles, tempestdev, tempest-secret, tempest-contact, gotosocial, ashen-earth, drowning, seance }: {
nixosConfigurations = { nixosConfigurations = {
nyx = nixpkgs.lib.nixosSystem { nyx = nixpkgs.lib.nixosSystem {
@ -30,11 +31,13 @@
tempest-contact.nixosModule tempest-contact.nixosModule
gotosocial.nixosModule gotosocial.nixosModule
drowning.nixosModule drowning.nixosModule
seance.nixosModule
./hosts/nyx/include/acme.nix ./hosts/nyx/include/acme.nix
./hosts/nyx/include/nginx.nix ./hosts/nyx/include/nginx.nix
./hosts/nyx/include/services.nix ./hosts/nyx/include/services.nix
./hosts/nyx/include/proxy.nix ./hosts/nyx/include/proxy.nix
./hosts/nyx/include/seance.nix
]; ];
}; };

@ -0,0 +1,20 @@
{ config, pkgs, ...}: {
config.services.seance = {
enable = true;
systems.ashe = {
referenceUserID = "193109872240361472";
peerPattern = "[a-zA-Z](#|,|:-) ?.*";
autoproxyLatchScope = "global";
autoproxyLatchTimeout = 900;
autoproxyLatchStartEnabled = true;
defaultPresence = "latch";
forwardPings = true;
members.test = {
messagePattern = "[tT](#|,|:-) ?(?P<content>.*)";
commandPrefix = "t";
};
};
};
}
Loading…
Cancel
Save