refactor(hosts): move host configurations into folders
This commit is contained in:
parent
7e5e0d2c87
commit
02115fe73d
5 changed files with 48 additions and 47 deletions
hosts
|
@ -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" {
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
|
@ -13,6 +13,7 @@
|
|||
hostname = "penguin";
|
||||
timezone = "Europe/Berlin";
|
||||
ipaddr = "192.168.0.1";
|
||||
packages = [ "ds-lite" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue