From 67b085a8518390dd2a8c6903c7078e7b8133ec99 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Sat, 3 Oct 2026 03:57:15 +1000 Subject: [PATCH] feat: added preliminary media-server module options --- flake.lock | 138 +++++++++++------- .../features/connectivity/media-server.nix | 10 +- 2 files changed, 91 insertions(+), 57 deletions(-) diff --git a/flake.lock b/flake.lock index 733f3a5..e91ee15 100755 --- a/flake.lock +++ b/flake.lock @@ -291,9 +291,27 @@ "type": "github" } }, + "mkdocs-catppuccin": { + "flake": false, + "locked": { + "lastModified": 1767028711, + "narHash": "sha256-YVIZAtQT2B4Xs2sBaszvyyukm+1klCJdRpsc/BYV1gw=", + "owner": "ruslanlap", + "repo": "mkdocs-catppuccin", + "rev": "fd8ac6106b5b6d32922cd80cbc3d221622a17408", + "type": "github" + }, + "original": { + "owner": "ruslanlap", + "repo": "mkdocs-catppuccin", + "type": "github" + } + }, "musnix": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1777848538, @@ -372,7 +390,9 @@ "flake-compat": "flake-compat", "flake-parts": "flake-parts_2", "git-hooks": "git-hooks", - "nixpkgs": "nixpkgs_3" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1789618849, @@ -388,6 +408,29 @@ "type": "github" } }, + "nixflix": { + "inputs": { + "mkdocs-catppuccin": "mkdocs-catppuccin", + "nixpkgs": [ + "nixpkgs" + ], + "treefmt-nix": "treefmt-nix", + "vpn-confinement": "vpn-confinement" + }, + "locked": { + "lastModified": 1790775809, + "narHash": "sha256-Vt2k/qq1VG9jpfj8XBQdjW8OVfC8iojRqwyZ3fb2bIo=", + "owner": "kiriwalawren", + "repo": "nixflix", + "rev": "abe295fbcab45a0c06530595bc63d94317c6b665", + "type": "github" + }, + "original": { + "owner": "kiriwalawren", + "repo": "nixflix", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1767892417, @@ -448,38 +491,6 @@ } }, "nixpkgs_2": { - "locked": { - "lastModified": 1777268161, - "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1789073787, - "narHash": "sha256-xfX/toC2QV707s06GbP4II/TxYF0fNQj7s5/LClNDKc=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "aff8a0b28396750446e5537a96461bc4facdb287", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_4": { "locked": { "lastModified": 1789546076, "narHash": "sha256-zVxLZiSnmaaPLwnhj7pwmqe3axBg/C6nG5JZsJMh2g4=", @@ -495,22 +506,6 @@ "type": "github" } }, - "nixpkgs_5": { - "locked": { - "lastModified": 1785454630, - "narHash": "sha256-LQy14TZp77TwbQf40gg1V3jo8FwJG0jGDkAH+zRHqg8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1559d3daa3ecc813a650b79375ea61b6741b8746", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "noctalia": { "inputs": { "nixpkgs": [ @@ -567,7 +562,8 @@ "musnix": "musnix", "niri": "niri", "nix-gaming": "nix-gaming", - "nixpkgs": "nixpkgs_4", + "nixflix": "nixflix", + "nixpkgs": "nixpkgs_2", "noctalia": "noctalia", "stylix": "stylix" } @@ -581,7 +577,9 @@ "firefox-gnome-theme": "firefox-gnome-theme", "flake-parts": "flake-parts_3", "gnome-shell": "gnome-shell", - "nixpkgs": "nixpkgs_5", + "nixpkgs": [ + "nixpkgs" + ], "nur": "nur", "systems": "systems_2", "tinted-kitty": "tinted-kitty", @@ -699,6 +697,42 @@ "type": "github" } }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nixflix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1786901030, + "narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "vpn-confinement": { + "locked": { + "lastModified": 1789394839, + "narHash": "sha256-trdjVJKmDBbzgbP8pd+R7iKbGkdRu0nmXgQlBR/hEiU=", + "owner": "Maroka-chan", + "repo": "VPN-Confinement", + "rev": "a21f66ccd9f644c3770ccdf287cb380c00192628", + "type": "github" + }, + "original": { + "owner": "Maroka-chan", + "repo": "VPN-Confinement", + "type": "github" + } + }, "xwayland-satellite-stable": { "flake": false, "locked": { diff --git a/modules/features/connectivity/media-server.nix b/modules/features/connectivity/media-server.nix index 1c4c32f..07e5192 100644 --- a/modules/features/connectivity/media-server.nix +++ b/modules/features/connectivity/media-server.nix @@ -23,21 +23,21 @@ jellyfin = { enable = true; # sets main user as administrator - users.{user-parts.user.username} = { + users.${user-parts.user.username} = { policy.isAdministrator = true; # sets default password - change this <3 password = "password"; }; }; - + }; - + # home manager options home-manager.users.${user-parts.user.username} = { - + # necessary for module name functionality #imports = [ ]; - + }; };