mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-12-01 19:06:44 +00:00
Initial attempt to downgrade Nextcloud
This commit is contained in:
parent
4b0dfcd23c
commit
a26194bf06
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
description = "PoC SP module for nextcloud";
|
description = "PoC SP module for nextcloud";
|
||||||
|
|
||||||
outputs = { self }: {
|
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11";
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs-old }: {
|
||||||
nixosModules.default = _:
|
nixosModules.default = _:
|
||||||
{ imports = [ ./module.nix ./cleanup-module.nix ]; };
|
{ imports = [ ./module.nix ./cleanup-module.nix ]; };
|
||||||
configPathsNeeded =
|
configPathsNeeded =
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, nixpkgs-old, ... }:
|
||||||
|
let
|
||||||
|
oldPkgs = import nixpkgs-old {
|
||||||
|
system = "x86_64-linux"; # Same architecture as above
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
options.selfprivacy.modules.nextcloud = with lib; {
|
options.selfprivacy.modules.nextcloud = with lib; {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
|
@ -66,7 +71,7 @@
|
||||||
};
|
};
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud29;
|
package = oldPkgs.nextcloud26;
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
|
||||||
# Use HTTPS for links
|
# Use HTTPS for links
|
||||||
|
|
Loading…
Reference in a new issue