Create all.nix role with common modules

This commit is contained in:
fleaz 2022-02-07 00:00:41 +01:00
parent 40bbb757a1
commit 6a9a43478c
3 changed files with 15 additions and 16 deletions

View file

@ -10,14 +10,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/fonts.nix
../../modules/sound.nix
../../modules/opengl.nix
../../modules/ssh.nix
../../modules/remote-builder.nix
../../modules/earlyoom.nix
../../users/fleaz.nix
../../home-manager/default.nix
../../roles/all.nix
];
# Use the systemd-boot EFI boot loader.

View file

@ -11,14 +11,7 @@ in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../home-manager/default.nix
../../modules/earlyoom.nix
../../modules/fonts.nix
../../modules/opengl.nix
../../modules/remote-builder.nix
../../modules/sound.nix
../../modules/ssh.nix
../../users/fleaz.nix
../../roles/all.nix
];

13
roles/all.nix Normal file
View file

@ -0,0 +1,13 @@
{
imports = [
../home-manager/default.nix
../modules/earlyoom.nix
../modules/fonts.nix
../modules/opengl.nix
../modules/remote-builder.nix
../modules/sound.nix
../modules/ssh.nix
../users/fleaz.nix
];
}