Dimondback
This commit is contained in:
parent
a7828c1e64
commit
f18a3e31d4
1 changed files with 59 additions and 0 deletions
59
systems/x86_64-linux/dimondback/default.nix
Normal file
59
systems/x86_64-linux/dimondback/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
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;
|
||||
swapSize = null;
|
||||
};
|
||||
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 ========================
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue