restructure container directory

This commit is contained in:
♥ Minnie ♥ 2023-05-24 22:25:12 +08:00
parent 4527811bea
commit 7b9ac7400c
11 changed files with 28 additions and 23 deletions

View file

@ -12,27 +12,7 @@
# inputs.hardware.nixosModules.common-ssd # inputs.hardware.nixosModules.common-ssd
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
./containers
# Homepage
./containers/homepage.nix
# Reverse proxy
./containers/traefik.nix
# Website
./containers/nginx.nix
# Multimedia
./containers/plex.nix
./containers/sonarr.nix
./containers/radarr.nix
./containers/prowlarr.nix
# Documents & Files
./containers/qbittorrent.nix
# Utilities
./containers/pihole.nix
# Import your generated (nixos-generate-config) hardware configuration # Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix ./hardware-configuration.nix
@ -100,8 +80,7 @@
boot = { boot = {
# Kernel to install # Kernel to install
kernelPackages = pkgs.linuxPackages_rpi4; kernelPackages = pkgs.linuxPackages_rpi4;
# ttyAMA0 is the serial console broken out to the GPIO # ttyAMA0 is the serial console broken out to the GPIO
kernelParams = [ kernelParams = [
"8250.nr_uarts=1" "8250.nr_uarts=1"

View file

@ -0,0 +1,26 @@
{ ... }:
{
imports = [
# Dashboard
./homepage
# Website
./nginx
# Dns blackhole
./pihole
# Multimedia
./plex
./sonarr
./radarr
./prowlarr
# Documents & Files
./qbittorrent
# Reverse proxy
./traefik
];
}