From 177131d4fdb9e1c77741d1dca3f0a3e6b7bbb423 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Mon, 3 Mar 2025 21:57:07 +0530 Subject: [PATCH] feat: Added homebrew --- darwin/shiro/configuration.nix | 6 ++++++ nixos/mirai/services/polaris.nix | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 nixos/mirai/services/polaris.nix diff --git a/darwin/shiro/configuration.nix b/darwin/shiro/configuration.nix index a40c830f..2dec974d 100644 --- a/darwin/shiro/configuration.nix +++ b/darwin/shiro/configuration.nix @@ -6,6 +6,12 @@ }: { imports = [./services]; + homebrew = { + enable = true; + brews = [ + "docker" + ]; + }; # environment.systemPackages = with pkgs; [nix neovim]; nix = { settings = { diff --git a/nixos/mirai/services/polaris.nix b/nixos/mirai/services/polaris.nix new file mode 100644 index 00000000..57b6f8e4 --- /dev/null +++ b/nixos/mirai/services/polaris.nix @@ -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 + ''; + }; + }; +}