refactor(hosts): move host configurations into folders

This commit is contained in:
Felix Schröter 2025-05-01 16:08:47 +02:00
parent 7e5e0d2c87
commit 02115fe73d
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 48 additions and 47 deletions

View file

@ -12,7 +12,7 @@
inputs.nixos-hardware.nixosModules.common-gpu-amd
(self.lib.createSystemModule "home-pc" {
hardwareConfig = ../hardware/home-pc.nix;
config = ../hosts/home-pc.nix;
config = ../hosts/home-pc/default.nix;
})
self.lib.createMediaGroup
(self.lib.createUserModule "felschr" {
@ -51,7 +51,7 @@
inputs.matrix-appservices.nixosModule
(self.lib.createSystemModule "home-server" {
hardwareConfig = ../hardware/lattepanda.nix;
config = ../hosts/home-server.nix;
config = ../hosts/home-server/default.nix;
})
self.lib.createMediaGroup
(self.lib.createUserModule "felschr" {

View file

@ -2,24 +2,24 @@
{
imports = [
../hardware/base.nix
../hardware/bluetooth.nix
../hardware/xbox.nix
../hardware/steam.nix
../hardware/ledger.nix
../system/desktop.nix
../system/printing/home.nix
../system/gaming.nix
../desktop
../desktop/cosmic.nix
../virtualisation/containers.nix
../virtualisation/podman.nix
../virtualisation/libvirt.nix
../modules/systemdNotify.nix
../services/samba/home-pc.nix
../services/restic/home-pc.nix
../services/pcscd.nix
../services/open-webui.nix
../../hardware/base.nix
../../hardware/bluetooth.nix
../../hardware/xbox.nix
../../hardware/steam.nix
../../hardware/ledger.nix
../../system/desktop.nix
../../system/printing/home.nix
../../system/gaming.nix
../../desktop
../../desktop/cosmic.nix
../../virtualisation/containers.nix
../../virtualisation/podman.nix
../../virtualisation/libvirt.nix
../../modules/systemdNotify.nix
../../services/samba/home-pc.nix
../../services/restic/home-pc.nix
../../services/pcscd.nix
../../services/open-webui.nix
];
nixpkgs.config.allowUnfree = true;

View file

@ -18,33 +18,33 @@ let
in
{
imports = [
../hardware/base.nix
../desktop/x11.nix
../system/server.nix
../virtualisation/containers.nix
../virtualisation/podman.nix
../modules/inadyn.nix
../modules/systemdNotify.nix
../services/postgres
../services/mail.nix
../services/lldap.nix
../services/authelia.nix
../services/forgejo
../services/restic/home-server.nix
../services/samba/home-server.nix
# ../services/kodi.nix
../services/jellyfin.nix
../services/etebase.nix
../services/website.nix
../services/wkd.nix
../services/home-assistant
../services/matrix
../services/immich.nix
../services/miniflux.nix
../services/paperless.nix
../services/nextcloud.nix
../services/collabora-office.nix
../services/calibre-web.nix
../../hardware/base.nix
../../desktop/x11.nix
../../system/server.nix
../../virtualisation/containers.nix
../../virtualisation/podman.nix
../../modules/inadyn.nix
../../modules/systemdNotify.nix
../../services/postgres
../../services/mail.nix
../../services/lldap.nix
../../services/authelia.nix
../../services/forgejo
../../services/restic/home-server.nix
../../services/samba/home-server.nix
# ../../services/kodi.nix
../../services/jellyfin.nix
../../services/etebase.nix
../../services/website.nix
../../services/wkd.nix
../../services/home-assistant
../../services/matrix
../../services/immich.nix
../../services/miniflux.nix
../../services/paperless.nix
../../services/nextcloud.nix
../../services/collabora-office.nix
../../services/calibre-web.nix
];
age.secrets.cloudflare.file = ../secrets/cloudflare.age;

View file

@ -13,6 +13,7 @@
hostname = "penguin";
timezone = "Europe/Berlin";
ipaddr = "192.168.0.1";
packages = [ "ds-lite" ];
};
};
}