setting up media server

This commit is contained in:
Matt Nish-Lapidus 2025-03-10 14:34:41 -04:00
parent 023d644c19
commit d976ee4c71
2 changed files with 6 additions and 5 deletions

View file

@ -10,6 +10,7 @@
cifs-utils cifs-utils
plex plex
beets beets
wezterm
]; ];
username = "media"; username = "media";

View file

@ -1,4 +1,4 @@
{ config, lib, inputs, pkgs, ... }: { config, lib, nix-config, inputs, pkgs, ... }:
{ {
imports = imports =
@ -10,6 +10,10 @@
config = { config = {
allowUnfree = true; allowUnfree = true;
}; };
overlays = builtins.attrValues nix-config.overlays ++ [
inputs.nh.overlays.default
];
}; };
nix = { nix = {
@ -51,10 +55,6 @@
users.users.media = { users.users.media = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "input" "audio" "video" "network" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "input" "audio" "video" "network" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [
wezterm
];
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [