integrate htpc and associated configuration
This commit is contained in:
@@ -10,17 +10,7 @@
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
services.beesd.filesystems = {
|
||||
root = {
|
||||
spec = "LABEL=NixOS";
|
||||
hashTableSizeMB = 128;
|
||||
verbosity = "crit";
|
||||
extraOptions = [ "--loadavg-target" "1.5" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "T14"; # Define your hostname.
|
||||
services.openssh.enable = true;
|
||||
networking.hostName = "board"; # Define your hostname.
|
||||
|
||||
users.users.k3t = {
|
||||
packages = with pkgs; [
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "uas" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/9e3085ab-53c4-4301-be0b-ea60edeb5ef5";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2C85-DE7B";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/54f5cbbd-333d-42b4-ab70-033b2a0d20a2"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
||||
@@ -10,17 +10,7 @@
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
services.beesd.filesystems = {
|
||||
root = {
|
||||
spec = "LABEL=NixOS";
|
||||
hashTableSizeMB = 128;
|
||||
verbosity = "crit";
|
||||
extraOptions = [ "--loadavg-target" "1.5" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "T14"; # Define your hostname.
|
||||
services.openssh.enable = true;
|
||||
|
||||
users.users.k3t = {
|
||||
packages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user