nixos-config/systems/x86_64-linux/dimondback/default.nix

58 lines
1.3 KiB
Nix

{
lib,
pkgs,
inputs,
namespace,
system,
target,
format,
virtual,
systems,
config,
...
}:
with lib;
with lib.custom; let
kodi-with-addons = pkgs.kodi-wayland.withPackages (kodiPkgs:
with kodiPkgs; [
inputstream-adaptive
bluetooth-manager
]);
in {
facter.reportPath =
if (builtins.pathExists ./facter.json)
then ./facter.json
else null;
imports = lib.snowfall.fs.get-non-default-nix-files ./. ++ [../stargate/services/adguardhome.nix];
custom.presets.disko.ext4 = {
enable = true;
};
custom.presets.default = enabled;
custom.hardware.bluetooth.enable = true;
users.extraUsers.kodi.isNormalUser = true;
services.cage.user = "kodi";
services.cage.program = "${kodi-with-addons}/bin/kodi-standalone";
services.cage.enable = true;
environment.systemPackages = with pkgs; [
kodi-with-addons
tmux
icloudpd
immich-go
wget
];
hardware.enableAllHardware = true;
hardware.enableAllFirmware = true;
custom.users.kylekrein = {
enable = true;
config = {};
};
networking.firewall.allowedTCPPorts = [80 443 22];
# ======================== DO NOT CHANGE THIS ========================
system.stateVersion = "25.05";
# ======================== DO NOT CHANGE THIS ========================
}