highly vibed modularization

This commit is contained in:
alisceon 2026-03-10 21:11:52 +01:00
parent a52cd4d35c
commit cea12431ff
12 changed files with 79 additions and 13 deletions

View file

@ -43,7 +43,7 @@
inherit inputs;
};
sharedModules = [
./hosts/common/default.nix
./hosts/base.nix
stylix.nixosModules.stylix
home-manager.nixosModules.home-manager
({ config, ...}: {
@ -64,10 +64,10 @@
inherit pkgs;
specialArgs = sharedSpecialArgs // {};
modules = sharedModules ++ [
./hosts/electra/configuration.nix
./hosts/common/workstation.nix
./hosts/common/wm/sway.nix
./hosts/common/stylix.nix
./hosts/hosts/electra.nix
./hosts/workstation.nix
./hosts/modules/wm/sway/default.nix
./hosts/modules/stylix.nix
home-manager.nixosModules.home-manager
({ config, ...}: {
home-manager.users.alisceon.imports = [
@ -87,10 +87,10 @@
inherit pkgs;
specialArgs = sharedSpecialArgs // {};
modules = sharedModules ++ [
./hosts/tower/configuration.nix
./hosts/common/workstation.nix
./hosts/common/wm/sway.nix
./hosts/common/stylix.nix
./hosts/hosts/tower.nix
./hosts/workstation.nix
./hosts/modules/wm/sway/default.nix
./hosts/modules/stylix.nix
home-manager.nixosModules.home-manager
({ config, ...}: {
home-manager.users.alisceon.imports = [
@ -110,8 +110,8 @@
inherit pkgs;
specialArgs = sharedSpecialArgs // {};
modules = sharedModules ++ [
./hosts/common/server.nix
./hosts/tesla-nixos/configuration.nix
./hosts/server.nix
./hosts/hosts/tesla-nixos.nix
nix-minecraft.nixosModules.minecraft-servers
{ nixpkgs.overlays = [ inputs.nix-minecraft.overlay ]; }
home-manager.nixosModules.home-manager
@ -131,8 +131,8 @@
inherit pkgs;
specialArgs = sharedSpecialArgs // {};
modules = sharedModules ++ [
./hosts/common/server.nix
./hosts/nuc/configuration.nix
./hosts/server.nix
./hosts/hosts/nuc.nix
home-manager.nixosModules.home-manager
({ config, ...}: {
home-manager.users.alisceon.imports = [