mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move to server-specific defaults
This commit is contained in:
parent
fe6e5d4c57
commit
817b9756f4
3 changed files with 14 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./../../modules/core/default.dandelion.nix
|
./../../modules/core/default.server.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "dandelion";
|
networking.hostName = "dandelion";
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./../../modules/core/default.violet.nix
|
./../../modules/core/default.server.nix
|
||||||
./../../modules/services/violet.nix
|
./../../modules/services/violet.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
12
modules/core/default.server.nix
Normal file
12
modules/core/default.server.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[(import ./hardware.nix)]
|
||||||
|
++ [(import ./network.nix)]
|
||||||
|
++ [(import ./program.nix)]
|
||||||
|
++ [(import ./sshd.nix)]
|
||||||
|
++ [(import ./security.nix)]
|
||||||
|
++ [(import ./services.nix)]
|
||||||
|
++ [(import ./system.nix)]
|
||||||
|
++ [(import ./user.nix)];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue