testing out config for biggerpi
This commit is contained in:
parent
12d3cb26b6
commit
0c57d705e6
2 changed files with 31 additions and 3 deletions
|
@ -13,9 +13,9 @@
|
||||||
nano = "nvim";
|
nano = "nvim";
|
||||||
|
|
||||||
# Aliases for my nixos workflow, requires nh and home-manager
|
# Aliases for my nixos workflow, requires nh and home-manager
|
||||||
switch = "nh os switch";
|
switch = "sudo nixos-rebuild switch --flake ~/nixconf |& nom";
|
||||||
homeswitch = "home-manager switch --flake /home/blue/nixconf |& nom";
|
homeswitch = "home-manager switch --flake ~/nixconf |& nom";
|
||||||
serverswitch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo";
|
serverswitch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo |& nom";
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
|
|
|
@ -56,6 +56,34 @@
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.libinput.enable = true;
|
# services.libinput.enable = true;
|
||||||
|
|
||||||
|
users.groups.media = {
|
||||||
|
name = "media";
|
||||||
|
# gid = "1001";
|
||||||
|
# members = [
|
||||||
|
# sonarr
|
||||||
|
# radarr
|
||||||
|
# prowlarr
|
||||||
|
# jellyseerr
|
||||||
|
# qbittorrent
|
||||||
|
# jellyfin
|
||||||
|
# lidarr
|
||||||
|
# navidrome
|
||||||
|
# ];
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.jellyfin.uid = null;
|
||||||
|
users.users.jellyfin.group = "media";
|
||||||
|
users.users.jellyfin.isSystemUser = true;
|
||||||
|
|
||||||
|
services.jellyfin = {
|
||||||
|
enable = true;
|
||||||
|
configDir = "/home/blue/server-config/jellyfin";
|
||||||
|
logDir = "/home/blue/server-logs/jellyfin";
|
||||||
|
openFirewall = true;
|
||||||
|
user = "jellyfin";
|
||||||
|
group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.blue = {
|
users.users.blue = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue