feat: update to newest nixos + homebridge init
This commit is contained in:
parent
0f94e6c361
commit
f95f831f85
4 changed files with 58 additions and 43 deletions
|
|
@ -17,6 +17,7 @@ in {
|
|||
./nvidia.nix
|
||||
./intel.nix
|
||||
./disk-spindown.nix
|
||||
./homebridge.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
|
@ -39,6 +40,7 @@ in {
|
|||
"root" = import ./home.nix;
|
||||
};
|
||||
};
|
||||
users.users.root.shell = pkgs.zsh;
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
@ -290,5 +292,5 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
|
|
|||
13
hosts/saberofxebec/homebridge.nix
Normal file
13
hosts/saberofxebec/homebridge.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
services.homebridge = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."homebridge.saberofxebec".extraConfig = ''
|
||||
reverse_proxy :5353
|
||||
tls internal
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue