70 lines
1.6 KiB
Nix
70 lines
1.6 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];
|
|
|
|
environment.sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
wl-clipboard
|
|
egl-wayland
|
|
];
|
|
hardware.graphics.enable = true;
|
|
networking.networkmanager.enable = true;
|
|
|
|
custom.presets.disko.ext4Swap = {
|
|
enable = true;
|
|
swapSize = null;
|
|
device = "/dev/sda";
|
|
};
|
|
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 ========================
|
|
}
|