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
|
inputs.nixos-hardware.nixosModules.common-gpu-amd
|
||||||
(self.lib.createSystemModule "home-pc" {
|
(self.lib.createSystemModule "home-pc" {
|
||||||
hardwareConfig = ../hardware/home-pc.nix;
|
hardwareConfig = ../hardware/home-pc.nix;
|
||||||
config = ../hosts/home-pc.nix;
|
config = ../hosts/home-pc/default.nix;
|
||||||
})
|
})
|
||||||
self.lib.createMediaGroup
|
self.lib.createMediaGroup
|
||||||
(self.lib.createUserModule "felschr" {
|
(self.lib.createUserModule "felschr" {
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
inputs.matrix-appservices.nixosModule
|
inputs.matrix-appservices.nixosModule
|
||||||
(self.lib.createSystemModule "home-server" {
|
(self.lib.createSystemModule "home-server" {
|
||||||
hardwareConfig = ../hardware/lattepanda.nix;
|
hardwareConfig = ../hardware/lattepanda.nix;
|
||||||
config = ../hosts/home-server.nix;
|
config = ../hosts/home-server/default.nix;
|
||||||
})
|
})
|
||||||
self.lib.createMediaGroup
|
self.lib.createMediaGroup
|
||||||
(self.lib.createUserModule "felschr" {
|
(self.lib.createUserModule "felschr" {
|
||||||
|
|
|
@ -2,24 +2,24 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../hardware/base.nix
|
../../hardware/base.nix
|
||||||
../hardware/bluetooth.nix
|
../../hardware/bluetooth.nix
|
||||||
../hardware/xbox.nix
|
../../hardware/xbox.nix
|
||||||
../hardware/steam.nix
|
../../hardware/steam.nix
|
||||||
../hardware/ledger.nix
|
../../hardware/ledger.nix
|
||||||
../system/desktop.nix
|
../../system/desktop.nix
|
||||||
../system/printing/home.nix
|
../../system/printing/home.nix
|
||||||
../system/gaming.nix
|
../../system/gaming.nix
|
||||||
../desktop
|
../../desktop
|
||||||
../desktop/cosmic.nix
|
../../desktop/cosmic.nix
|
||||||
../virtualisation/containers.nix
|
../../virtualisation/containers.nix
|
||||||
../virtualisation/podman.nix
|
../../virtualisation/podman.nix
|
||||||
../virtualisation/libvirt.nix
|
../../virtualisation/libvirt.nix
|
||||||
../modules/systemdNotify.nix
|
../../modules/systemdNotify.nix
|
||||||
../services/samba/home-pc.nix
|
../../services/samba/home-pc.nix
|
||||||
../services/restic/home-pc.nix
|
../../services/restic/home-pc.nix
|
||||||
../services/pcscd.nix
|
../../services/pcscd.nix
|
||||||
../services/open-webui.nix
|
../../services/open-webui.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
|
@ -18,33 +18,33 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../hardware/base.nix
|
../../hardware/base.nix
|
||||||
../desktop/x11.nix
|
../../desktop/x11.nix
|
||||||
../system/server.nix
|
../../system/server.nix
|
||||||
../virtualisation/containers.nix
|
../../virtualisation/containers.nix
|
||||||
../virtualisation/podman.nix
|
../../virtualisation/podman.nix
|
||||||
../modules/inadyn.nix
|
../../modules/inadyn.nix
|
||||||
../modules/systemdNotify.nix
|
../../modules/systemdNotify.nix
|
||||||
../services/postgres
|
../../services/postgres
|
||||||
../services/mail.nix
|
../../services/mail.nix
|
||||||
../services/lldap.nix
|
../../services/lldap.nix
|
||||||
../services/authelia.nix
|
../../services/authelia.nix
|
||||||
../services/forgejo
|
../../services/forgejo
|
||||||
../services/restic/home-server.nix
|
../../services/restic/home-server.nix
|
||||||
../services/samba/home-server.nix
|
../../services/samba/home-server.nix
|
||||||
# ../services/kodi.nix
|
# ../../services/kodi.nix
|
||||||
../services/jellyfin.nix
|
../../services/jellyfin.nix
|
||||||
../services/etebase.nix
|
../../services/etebase.nix
|
||||||
../services/website.nix
|
../../services/website.nix
|
||||||
../services/wkd.nix
|
../../services/wkd.nix
|
||||||
../services/home-assistant
|
../../services/home-assistant
|
||||||
../services/matrix
|
../../services/matrix
|
||||||
../services/immich.nix
|
../../services/immich.nix
|
||||||
../services/miniflux.nix
|
../../services/miniflux.nix
|
||||||
../services/paperless.nix
|
../../services/paperless.nix
|
||||||
../services/nextcloud.nix
|
../../services/nextcloud.nix
|
||||||
../services/collabora-office.nix
|
../../services/collabora-office.nix
|
||||||
../services/calibre-web.nix
|
../../services/calibre-web.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets.cloudflare.file = ../secrets/cloudflare.age;
|
age.secrets.cloudflare.file = ../secrets/cloudflare.age;
|
|
@ -13,6 +13,7 @@
|
||||||
hostname = "penguin";
|
hostname = "penguin";
|
||||||
timezone = "Europe/Berlin";
|
timezone = "Europe/Berlin";
|
||||||
ipaddr = "192.168.0.1";
|
ipaddr = "192.168.0.1";
|
||||||
|
packages = [ "ds-lite" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue