add services.nix
This commit is contained in:
parent
f702ae8812
commit
6185dd48a8
5 changed files with 36 additions and 27 deletions
|
|
@ -1,23 +1,24 @@
|
||||||
{ lib, osconfig, ... }: {
|
{ ... }:
|
||||||
imports = [
|
{
|
||||||
(../../../modules/features/home/ghostty.nix)
|
imports = [
|
||||||
(../../../modules/features/home/kitty.nix)
|
(../../../modules/features/home/ghostty.nix)
|
||||||
(../../../modules/features/home/browsers.nix)
|
(../../../modules/features/home/kitty.nix)
|
||||||
# (../../../modules/features/home/neovide.nix)
|
(../../../modules/features/home/browsers.nix)
|
||||||
|
# (../../../modules/features/home/neovide.nix)
|
||||||
|
|
||||||
(../../../modules/features/home/bash.nix)
|
(../../../modules/features/home/bash.nix)
|
||||||
(../../../modules/features/home/starship.nix)
|
(../../../modules/features/home/starship.nix)
|
||||||
(../../../modules/features/home/tmux.nix)
|
(../../../modules/features/home/tmux.nix)
|
||||||
(../../../modules/features/home/fastfetch.nix)
|
(../../../modules/features/home/fastfetch.nix)
|
||||||
(../../../modules/features/home/vscode.nix)
|
(../../../modules/features/home/vscode.nix)
|
||||||
(../../../modules/features/home/obs-studio.nix)
|
(../../../modules/features/home/obs-studio.nix)
|
||||||
(../../../modules/features/home/xdg.nix)
|
(../../../modules/features/home/xdg.nix)
|
||||||
(../../../modules/features/home/packages.nix)
|
(../../../modules/features/home/packages.nix)
|
||||||
(../../../modules/features/home/git.nix)
|
(../../../modules/features/home/git.nix)
|
||||||
|
|
||||||
(../../../modules/programs/nixvim/_nixvim.nix)
|
(../../../modules/programs/nixvim/_nixvim.nix)
|
||||||
(../../../modules/programs/nixcord/default.nix)
|
(../../../modules/programs/nixcord/default.nix)
|
||||||
(../../../modules/features/home/niri.nix)
|
(../../../modules/features/home/niri.nix)
|
||||||
(../../../modules/programs/hyprland/default.nix)
|
(../../../modules/programs/hyprland/default.nix)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./programs.nix
|
./programs.nix
|
||||||
|
./service.nix
|
||||||
|
|
||||||
(libs.root "/modules/features/system/docker.nix")
|
(libs.root "/modules/features/system/docker.nix")
|
||||||
(libs.root "/modules/features/system/packages.nix")
|
(libs.root "/modules/features/system/packages.nix")
|
||||||
|
|
@ -20,11 +21,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
adguardhome = {
|
|
||||||
enable = true;
|
|
||||||
port = 34778;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
fail2ban = {
|
fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3
host/server/service.nix
Normal file
3
host/server/service.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{ ... }: [
|
||||||
|
imports = [];
|
||||||
|
]
|
||||||
8
modules/features/services/adguardhome.nix
Normal file
8
modules/features/services/adguardhome.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.adguardhome = {
|
||||||
|
enable = true;
|
||||||
|
port = 34778;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in a new issue