highly vibed modularization
This commit is contained in:
parent
a52cd4d35c
commit
cea12431ff
12 changed files with 79 additions and 13 deletions
26
flake.nix
26
flake.nix
|
|
@ -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 = [
|
||||
|
|
|
|||
6
hosts/base.nix
Normal file
6
hosts/base.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./default.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/default.nix
Normal file
6
hosts/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common/default.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/hosts/electra.nix
Normal file
6
hosts/hosts/electra.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../electra/configuration.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/hosts/nuc.nix
Normal file
6
hosts/hosts/nuc.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../nuc/configuration.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/hosts/tesla-nixos.nix
Normal file
6
hosts/hosts/tesla-nixos.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../tesla-nixos/configuration.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/hosts/tower.nix
Normal file
6
hosts/hosts/tower.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../tower/configuration.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/modules/stylix.nix
Normal file
6
hosts/modules/stylix.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../common/stylix.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/modules/wm/gnome/default.nix
Normal file
6
hosts/modules/wm/gnome/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../common/wm/gnome.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/modules/wm/sway/default.nix
Normal file
6
hosts/modules/wm/sway/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../common/wm/sway.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/server.nix
Normal file
6
hosts/server.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common/server.nix
|
||||
];
|
||||
} # end file
|
||||
6
hosts/workstation.nix
Normal file
6
hosts/workstation.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common/workstation.nix
|
||||
];
|
||||
} # end file
|
||||
Loading…
Add table
Add a link
Reference in a new issue