integrate htpc and associated configuration
This commit is contained in:
Executable
+56
@@ -0,0 +1,56 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
kodi-with-addons = pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs; [
|
||||
inputstream-adaptive
|
||||
inputstream-ffmpegdirect
|
||||
inputstream-rtmp
|
||||
inputstreamhelper
|
||||
bluetooth-manager
|
||||
vfs-sftp
|
||||
vfs-rar
|
||||
vfs-libarchive
|
||||
urllib3
|
||||
upnext
|
||||
trakt
|
||||
trakt-module
|
||||
sponsorblock
|
||||
invidious
|
||||
simplecache
|
||||
libretro
|
||||
libretro-snes9x
|
||||
libretro-nestopia
|
||||
jellycon
|
||||
archive_tool
|
||||
joystick
|
||||
keymap
|
||||
jellyfin
|
||||
visualization-projectm
|
||||
visualization-goom
|
||||
steam-launcher
|
||||
]);
|
||||
in
|
||||
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "htpc"; # Define your hostname.
|
||||
|
||||
services.displayManager = {
|
||||
autoLogin.user = "k3t";
|
||||
};
|
||||
|
||||
users.users.k3t = {
|
||||
packages = with pkgs; [
|
||||
kodi-with-addons
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user