use conduit package from unstable nixpkgs
This commit is contained in:
parent
d9f2d24b05
commit
4024673591
2 changed files with 13 additions and 6 deletions
12
flake.nix
12
flake.nix
|
|
@ -21,8 +21,6 @@
|
|||
homepage = { url = "github:baduhai/homepage"; flake = false; };
|
||||
|
||||
dotfiles = { url = "github:baduhai/dotfiles"; flake = false; };
|
||||
|
||||
conduit = { url = "gitlab:famedly/conduit"; inputs.nixpkgs.follows = "nixpkgs-stable"; };
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
|
|
@ -38,7 +36,6 @@
|
|||
nixos-generators,
|
||||
homepage,
|
||||
dotfiles,
|
||||
conduit,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
|
|
@ -74,6 +71,15 @@
|
|||
agenix.nixosModules.default
|
||||
home-manager-stable.nixosModules.home-manager
|
||||
self.nixosModules.qbittorrent
|
||||
({ config, pkgs, ... }:
|
||||
let
|
||||
unstable-overlay = final: prev: {
|
||||
unstable = nixpkgs.legacyPackages.x86_64-linux;
|
||||
};
|
||||
in {
|
||||
nixpkgs.overlays = [ overlay-unstable ];
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -45,9 +45,10 @@ in
|
|||
services.matrix-conduit = {
|
||||
enable = true;
|
||||
|
||||
# This causes NixOS to use the flake defined in this repository instead of
|
||||
# the build of Conduit built into nixpkgs.
|
||||
package = inputs.conduit.packages.${pkgs.system}.default;
|
||||
package = pkgs.unstable.conduit;
|
||||
|
||||
global.allow_federation = false;
|
||||
global.allow_registration = true;
|
||||
|
||||
settings.global = {
|
||||
inherit server_name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue