mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-25 20:41:27 +00:00
try another fix
This commit is contained in:
parent
e8611fd55d
commit
4bead8f066
|
@ -3,10 +3,19 @@
|
||||||
|
|
||||||
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11";
|
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11";
|
||||||
|
|
||||||
outputs = { self, nixpkgs-old }: {
|
outputs = { self, nixpkgs-old }:
|
||||||
nixosModules.default = _:
|
let
|
||||||
{ imports = [ ./module.nix ./cleanup-module.nix ]; };
|
oldPkgs = import nixpkgs-old {
|
||||||
configPathsNeeded =
|
system = "x86_64-linux"; # Same architecture as above
|
||||||
builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
|
};
|
||||||
};
|
in
|
||||||
|
{
|
||||||
|
nixosModules.default = _:
|
||||||
|
{
|
||||||
|
imports = [ ./module.nix ./cleanup-module.nix ];
|
||||||
|
services.nextcloud.package = oldPkgs.nextcloud26;
|
||||||
|
};
|
||||||
|
configPathsNeeded =
|
||||||
|
builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
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 {
|
||||||
|
@ -71,7 +66,7 @@ in
|
||||||
};
|
};
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = oldPkgs.nextcloud26;
|
#package = oldPkgs.nextcloud26;
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
|
||||||
# Use HTTPS for links
|
# Use HTTPS for links
|
||||||
|
|
Loading…
Reference in a new issue