From 7c31d7b0e7819b5ba448d6ba7e309f6c13835a1b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 10 Mar 2024 19:59:48 -0400 Subject: [PATCH 1/4] added light shell extension --- desktop/gnome/default.nix | 1 + home/aly/default.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix index 390a58c1..a870376a 100644 --- a/desktop/gnome/default.nix +++ b/desktop/gnome/default.nix @@ -22,6 +22,7 @@ gnomeExtensions.appindicator gnomeExtensions.blur-my-shell gnomeExtensions.gsconnect + gnomeExtensions.light-shell gnomeExtensions.night-theme-switcher gnomeExtensions.noannoyance-fork gnomeExtensions.tailscale-status diff --git a/home/aly/default.nix b/home/aly/default.nix index 2d7b1161..23197e7f 100644 --- a/home/aly/default.nix +++ b/home/aly/default.nix @@ -24,6 +24,8 @@ todoist warp-terminal wget + picard + nicotine-plus ]; # basic configuration of git, please change to your own From 28660914ed377a3b23884db189da208e6d4eafaa Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 10 Mar 2024 20:00:14 -0400 Subject: [PATCH 2/4] added navidrome container to homelab --- modules/homelab/default.nix | 39 ++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/modules/homelab/default.nix b/modules/homelab/default.nix index 31f33a18..3db15f71 100644 --- a/modules/homelab/default.nix +++ b/modules/homelab/default.nix @@ -6,7 +6,7 @@ ]; # Open TCP ports for audiobookshelf, plex-server, and transmission-server. - networking.firewall.allowedTCPPorts = [ 51413 13378 32400 9091 ]; + networking.firewall.allowedTCPPorts = [ 51413 13378 32400 9091 4533]; networking.firewall.allowedUDPPorts = [ 51413 ]; virtualisation = { @@ -47,17 +47,30 @@ "/mnt/Media:/Media" ]; }; - # nextcloud = { - # ports = ["0.0.0.0:80:80" ]; - # image = "nextcloud:latest"; - # environment = { - # TZ = "America/New_York"; - # }; - # volumes = [ - # "nextcloud:/var/www/html" - # "/mnt/Media/NextCloud:/var/www/html/data" - # ]; - # }; }; }; -} \ No newline at end of file + + containers.navidrome = { + autoStart = true; + bindMounts = { + "/Music" = { hostPath = "/mnt/Media/Music"; + isReadOnly = true; + }; + }; + config = { config, pkgs, lib, ... }: { + services.navidrome = { + enable = true; + openFirewall = true; + settings = { + Address = "0.0.0.0"; + Port = 4533; + MusicFolder = "/Music"; + DefaultTheme = "Auto"; + SubsonicArtistParticipations = true; + DefaultDownsamplingFormat = "aac"; + }; + }; + system.stateVersion = "24.05"; + }; + }; +} From 174c39009a298461090ac9067aaead026edc187c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 10 Mar 2024 20:01:02 -0400 Subject: [PATCH 3/4] Revert "added light shell extension" This reverts commit 7c31d7b0e7819b5ba448d6ba7e309f6c13835a1b. --- desktop/gnome/default.nix | 1 - home/aly/default.nix | 2 -- 2 files changed, 3 deletions(-) diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix index a870376a..390a58c1 100644 --- a/desktop/gnome/default.nix +++ b/desktop/gnome/default.nix @@ -22,7 +22,6 @@ gnomeExtensions.appindicator gnomeExtensions.blur-my-shell gnomeExtensions.gsconnect - gnomeExtensions.light-shell gnomeExtensions.night-theme-switcher gnomeExtensions.noannoyance-fork gnomeExtensions.tailscale-status diff --git a/home/aly/default.nix b/home/aly/default.nix index 23197e7f..2d7b1161 100644 --- a/home/aly/default.nix +++ b/home/aly/default.nix @@ -24,8 +24,6 @@ todoist warp-terminal wget - picard - nicotine-plus ]; # basic configuration of git, please change to your own From 2df3d70b54af410a762b7ba59292f5bf0c21a34b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 10 Mar 2024 20:02:16 -0400 Subject: [PATCH 4/4] added and enabled light shell for gnome --- desktop/gnome/default.nix | 1 + home/common.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix index 390a58c1..a870376a 100644 --- a/desktop/gnome/default.nix +++ b/desktop/gnome/default.nix @@ -22,6 +22,7 @@ gnomeExtensions.appindicator gnomeExtensions.blur-my-shell gnomeExtensions.gsconnect + gnomeExtensions.light-shell gnomeExtensions.night-theme-switcher gnomeExtensions.noannoyance-fork gnomeExtensions.tailscale-status diff --git a/home/common.nix b/home/common.nix index 12449e43..f719a0a6 100644 --- a/home/common.nix +++ b/home/common.nix @@ -49,6 +49,7 @@ "tailscale-status@maxgallup.github.com" "tiling-assistant@leleat-on-github" "drive-menu@gnome-shell-extensions.gcampax.github.com" + "light-style@gnome-shell-extensions.gcampax.github.com" ]; "org/virt-manager/virt-manager/connections" = { autoconnect = ["qemu:///system"];