remove polaris-14 pr
This commit is contained in:
parent
1a5d66090f
commit
95188f8cd3
15
flake.nix
15
flake.nix
@ -29,10 +29,6 @@
|
||||
|
||||
# TODO: somehow make these private repos optional (a lazy fetch would be nice)
|
||||
pbsds-papers.url = "git+ssh://git@github.com/pbsds/papers.git";
|
||||
|
||||
# temporary stuff i want to use
|
||||
# TODO: can i fetch a subset of files of these?
|
||||
pr-polaris14.url = "github:pbsds/nixpkgs/polaris-14";
|
||||
};
|
||||
|
||||
nixConfig.extra-substituters = [
|
||||
@ -82,22 +78,13 @@
|
||||
#"riscv64-linux"
|
||||
];
|
||||
|
||||
# TODO: move unstable here?
|
||||
tmpConfig = {
|
||||
disabledModules = [ "services/misc/polaris.nix" ];
|
||||
imports = [ "${inputs.pr-polaris14}/nixos/modules/services/misc/polaris.nix" ];
|
||||
nixpkgs.overlays = [(final: prev: { # TODO: nixpkgs.config.packageOverrides ?
|
||||
polaris = prev.callPackage "${inputs.pr-polaris14}/pkgs/servers/polaris" { };
|
||||
polaris-web = prev.callPackage "${inputs.pr-polaris14}/pkgs/servers/polaris/web.nix" { };
|
||||
})];
|
||||
};
|
||||
mkConfig = hostname: domain: system: modules: nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
flakes = flake inputs system;
|
||||
};
|
||||
modules = modules ++ [ ./base.nix "${self}/hosts/${hostname}" tmpConfig ({
|
||||
modules = modules ++ [ ./base.nix "${self}/hosts/${hostname}" ({
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
flakes = flake inputs system;
|
||||
|
@ -3,13 +3,15 @@
|
||||
# Polaris
|
||||
# Self-host your music collection, and access it from any computer and mobile device
|
||||
|
||||
#disabledModules = [ "services/misc/polaris.nix" ];
|
||||
#imports = [ "${inputs.unstable}/nixos/modules/services/misc/polaris.nix" ];
|
||||
|
||||
services.polaris = {
|
||||
enable = true;
|
||||
#user = "pbsds";
|
||||
#group = "users";
|
||||
port = 7890;
|
||||
#package = pkgs.unstable.polaris; # instead of my overlay, TODO: move that overlay here
|
||||
package = pkgs.unstable.polaris;
|
||||
settings = {
|
||||
settings.reindex_every_n_seconds = 7*24*60*60; # weekly, default is 1800, i.e. hourly
|
||||
settings.album_art_pattern =
|
||||
|
Loading…
Reference in New Issue
Block a user