refactoe: moce common modules into their own file
This commit is contained in:
parent
52ec0abb0c
commit
1561628255
2 changed files with 20 additions and 16 deletions
16
hosts/common.nix
Normal file
16
hosts/common.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ lib, type, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../configs/boot.nix
|
||||
../configs/nix-config.nix
|
||||
../configs/security.nix
|
||||
../configs/users.nix
|
||||
../configs/networking.nix
|
||||
../configs/shell.nix
|
||||
../configs/programs/stylix.nix
|
||||
]
|
||||
++ lib.optionals (type == "graphical") [
|
||||
../configs/graphical.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue