mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
test: jellyfin microVM
This commit is contained in:
parent
b553e92ad1
commit
e25c1a2e06
13 changed files with 271 additions and 358 deletions
|
|
@ -1,40 +1,40 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
flake,
|
||||
osConfig,
|
||||
# lib,
|
||||
# flake,
|
||||
# osConfig,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.machines.devices) mars deimos;
|
||||
hostname = osConfig.networking.hostName;
|
||||
# let
|
||||
# inherit (flake.config.machines.devices) mars deimos;
|
||||
# hostname = osConfig.networking.hostName;
|
||||
|
||||
sharedPaths = ''
|
||||
${pkgs.zoxide}/bin/zoxide add ~/projects/dotfiles
|
||||
${pkgs.zoxide}/bin/zoxide add ~/downloads
|
||||
${pkgs.zoxide}/bin/zoxide add ~/projects
|
||||
${pkgs.zoxide}/bin/zoxide add /mnt/media/ceres/jellyfin
|
||||
${pkgs.zoxide}/bin/zoxide add /mnt/media/ceres/comfyui
|
||||
'';
|
||||
# sharedPaths = ''
|
||||
# ${pkgs.zoxide}/bin/zoxide add ~/projects/dotfiles
|
||||
# ${pkgs.zoxide}/bin/zoxide add ~/downloads
|
||||
# ${pkgs.zoxide}/bin/zoxide add ~/projects
|
||||
# ${pkgs.zoxide}/bin/zoxide add /mnt/media/ceres/jellyfin
|
||||
# ${pkgs.zoxide}/bin/zoxide add /mnt/media/ceres/comfyui
|
||||
# '';
|
||||
|
||||
desktopPaths = ''
|
||||
${pkgs.zoxide}/bin/zoxide add ~/projects/website
|
||||
${pkgs.zoxide}/bin/zoxide add ~/projects/workflowbuilder
|
||||
${pkgs.zoxide}/bin/zoxide add /mnt/media/storage
|
||||
'';
|
||||
# desktopPaths = ''
|
||||
# ${pkgs.zoxide}/bin/zoxide add ~/projects/website
|
||||
# ${pkgs.zoxide}/bin/zoxide add ~/projects/workflowbuilder
|
||||
# ${pkgs.zoxide}/bin/zoxide add /mnt/media/storage
|
||||
# '';
|
||||
|
||||
zoxidePaths = {
|
||||
home.activation.initZoxidePaths = lib.hm.dag.entryAfter [ "writeBoundary" ] (
|
||||
if hostname == mars.name then
|
||||
(sharedPaths + desktopPaths)
|
||||
else if hostname == deimos.name then
|
||||
sharedPaths
|
||||
else
|
||||
""
|
||||
);
|
||||
};
|
||||
# zoxidePaths = {
|
||||
# home.activation.initZoxidePaths = lib.hm.dag.entryAfter [ "writeBoundary" ] (
|
||||
# if hostname == mars.name then
|
||||
# (sharedPaths + desktopPaths)
|
||||
# else if hostname == deimos.name then
|
||||
# sharedPaths
|
||||
# else
|
||||
# ""
|
||||
# );
|
||||
# };
|
||||
|
||||
in
|
||||
# in
|
||||
{
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
|
|
@ -44,4 +44,4 @@ in
|
|||
];
|
||||
};
|
||||
}
|
||||
// zoxidePaths
|
||||
# // zoxidePaths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue