feat: Added homebrew
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
}: {
|
||||
imports = [./services];
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
brews = [
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
# environment.systemPackages = with pkgs; [nix neovim];
|
||||
nix = {
|
||||
settings = {
|
||||
|
||||
21
nixos/mirai/services/polaris.nix
Normal file
21
nixos/mirai/services/polaris.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{...}: {
|
||||
services = {
|
||||
polaris = {
|
||||
enable = false;
|
||||
port = 5050;
|
||||
settings = {
|
||||
mount_dirs = [
|
||||
{
|
||||
name = "Music";
|
||||
source = "/media/music";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
caddy = {
|
||||
virtualHosts."music.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:5050
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user