default.nix in most folders
This commit is contained in:
parent
35a7b40dac
commit
0c7addbe0c
8 changed files with 58 additions and 29 deletions
|
|
@ -2,20 +2,12 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
# Host-specific imports
|
||||
./alexandria/hardware-configuration.nix
|
||||
./alexandria/hosted-services.nix
|
||||
# Host-common imports
|
||||
../common/networking.nix
|
||||
../common/packages.nix
|
||||
../common/services.nix
|
||||
../common/locale.nix
|
||||
../common/users.nix
|
||||
../common/boot.nix
|
||||
../common/nix.nix
|
||||
../common
|
||||
# Server-common imports
|
||||
./common/boot.nix
|
||||
./common/nix.nix
|
||||
./common
|
||||
# Host-specific imports
|
||||
./alexandria
|
||||
];
|
||||
|
||||
users.users.user.extraGroups = [ "docker" ];
|
||||
|
|
|
|||
8
hosts/servers/alexandria/default.nix
Normal file
8
hosts/servers/alexandria/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./hosted-services.nix
|
||||
];
|
||||
}
|
||||
8
hosts/servers/common/default.nix
Normal file
8
hosts/servers/common/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./nix.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue