1
0
Fork 0
forked from foxora/nix
flake-foxora/vms/home-assistant/default.nix

20 lines
482 B
Nix

{ config, lib, pkgs, ... }:
{
services.home-assistant = {
enable = true;
configDir = "/var/lib/microvms/home-assistant";
# disables config generation, i don't wanna configure home assistant
# through nix at the moment
config = null;
};
users.users.nixos = {
isNormalUser = true;
uid = 1000;
extraGroups = ["wheel"];
hashedPassword = "$2b$05$94fPE/15g7ix7glKOaN0AeVMpitMivtQtcFL.aZIouQngOJ6nGMSC";
};
system.stateVersion = "25.11";
}