setting up media server

This commit is contained in:
Matt Nish-Lapidus 2025-03-10 17:30:58 -04:00
parent 6792649772
commit bc344e265e
4 changed files with 50 additions and 44 deletions

View file

@ -2,7 +2,7 @@
{ {
imports = with nix-config.homeModules; [ imports = with nix-config.homeModules; [
# mako git-conf
yazi yazi
shell-conf # shell, shell utils, cli tools, libs, tui's shell-conf # shell, shell utils, cli tools, libs, tui's
email email
@ -21,7 +21,7 @@
] ]
(with pkgs; [ (with pkgs; [
# samba4Full # sambaFull
dconf dconf
# xorg.libX11 # xorg.libX11
# xorg.libxcb # xorg.libxcb

View file

@ -3,13 +3,13 @@
imports = with nix-config.homeModules; [ imports = with nix-config.homeModules; [
shell-conf # shell, shell utils, cli tools, libs, tui's shell-conf # shell, shell utils, cli tools, libs, tui's
git-conf
]; ];
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
cifs-utils cifs-utils
beets beets
keyutils
wezterm wezterm
]; ];
@ -26,47 +26,7 @@
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
password-store.enable = true; password-store.enable = true;
git = {
enable = true;
lfs = {
enable = true;
};
userEmail = "matt@emenel.ca";
userName = "Matt Nish-Lapidus";
ignores = [
".DS_Store"
];
extraConfig = {
core = {
editor = "$EDITOR";
pager = "${pkgs.delta}/bin/delta";
};
interactive = {
diffFilter = "${pkgs.delta}/bin/delta --color-only";
};
delta = {
navigate = true;
dark = true;
line-numbers = true;
side-by-side = true;
};
merge = {
conflictstyle = "zdiff3";
};
init = {
defaultBranch = "main";
};
};
aliases = {
co = "checkout";
cm = "commit -m";
aa = "add .";
p = "push";
};
};
}; };
systemd.user = { systemd.user = {

View file

@ -156,9 +156,13 @@
nixarr = { nixarr = {
enable = true; enable = true;
mediaDir = "/data/media"; # mediaDir = "/mnt/filez/media";
stateDir = "/data/media/.state/nixarr"; stateDir = "/data/media/.state/nixarr";
mediaUsers = [
"media"
];
transmission = { transmission = {
enable = true; enable = true;
}; };

42
modules/home/git-conf.nix Normal file
View file

@ -0,0 +1,42 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
lfs = {
enable = true;
};
userEmail = "matt@emenel.ca";
userName = "Matt Nish-Lapidus";
ignores = [
".DS_Store"
];
extraConfig = {
core = {
editor = "$EDITOR";
pager = "${pkgs.delta}/bin/delta";
};
interactive = {
diffFilter = "${pkgs.delta}/bin/delta --color-only";
};
delta = {
navigate = true;
dark = true;
line-numbers = true;
side-by-side = true;
};
merge = {
conflictstyle = "zdiff3";
};
init = {
defaultBranch = "main";
};
};
aliases = {
co = "checkout";
cm = "commit -m";
aa = "add .";
p = "push";
};
};
}