[NixOS] Add home assistant to biskcomp

This commit is contained in:
Ivan Malison 2023-06-17 18:16:47 +00:00
parent 402053e3f9
commit 11662a6938
2 changed files with 19 additions and 18 deletions

View File

@ -5,8 +5,26 @@
../base.nix
];
services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
networking.firewall.allowedTCPPorts = [ 3389 ];
services.home-assistant = {
enable = true;
extraComponents = [
# Components required to complete the onboarding
"met"
"radio_browser"
];
config = {
# Includes dependencies for a basic setup
# https://www.home-assistant.io/integrations/default_config/
default_config = {};
};
};
networking.hostName = "biskcomp";
hardware.video.hidpi.enable = true;
# hardware.video.hidpi.enable = true;
system.stateVersion = "21.05";
}

View File

@ -8,23 +8,6 @@
hardware.raspberry-pi."4".fkms-3d.enable = true;
hardware.raspberry-pi."4".audio.enable = true;
boot = {
kernelPackages = pkgs.linuxPackages_rpi4;
tmpOnTmpfs = true;
loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
raspberryPi = {
enable = true;
version = 4;
firmwareConfig = ''
dtparam=audio=on
hdmi_drive=2
'';
};
};
};
hardware.enableRedistributableFirmware = true;
networking.useDHCP = false;