mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-22 13:53:09 +02:00
caddy
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
parent
644808d12d
commit
85669cfbd1
3 changed files with 21 additions and 0 deletions
|
@ -13,6 +13,7 @@ in {
|
||||||
./hardware/hardware-configuration.nix
|
./hardware/hardware-configuration.nix
|
||||||
./cachix.nix
|
./cachix.nix
|
||||||
( import ./hardware/nvidia.nix inputs )
|
( import ./hardware/nvidia.nix inputs )
|
||||||
|
( import ./services/dnsmasq.nix inputs )
|
||||||
inputs.nix-but-gigachad.nixosModules.default
|
inputs.nix-but-gigachad.nixosModules.default
|
||||||
];
|
];
|
||||||
nh = {
|
nh = {
|
||||||
|
|
19
hosts/titan/services/dnsmasq.nix
Normal file
19
hosts/titan/services/dnsmasq.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
inputs: { config, pkgs, ... }: {
|
||||||
|
services.dnsmasq = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = [
|
||||||
|
"9.9.9.9"
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
|
listen-address = [
|
||||||
|
"192.168.100.35"
|
||||||
|
];
|
||||||
|
resolv-file = ''
|
||||||
|
${pkgs.writeText "$out/resolv.conf" ''
|
||||||
|
5.12.179.165 gra.phite.ro
|
||||||
|
''}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -183,6 +183,7 @@ in {
|
||||||
blender
|
blender
|
||||||
vesktop
|
vesktop
|
||||||
ktailctl
|
ktailctl
|
||||||
|
caddy
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue