1
0
forked from extern/nix-config

specializations: Configure inside default.nix

This makes it possible to define specializations that are technically
modules without having them placed in the modules directory. This is
mainly useful to separate core Hyprland logic from desktop environment
logic.
This commit is contained in:
Donovan Glover 2023-07-10 20:36:16 -04:00
parent 9462f39f47
commit cb6d57536b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 9 additions and 18 deletions

View File

@ -1,6 +1,11 @@
{
imports = [
./gnome.nix
./plasma.nix
];
specialisation = {
gnome.configuration.imports = [
./gnome.nix
];
plasma.configuration.imports = [
./plasma.nix
];
};
}

View File

@ -1,7 +0,0 @@
{
specialisation.gnome.configuration = {
imports = [
../modules/gnome.nix
];
};
}

View File

@ -1,7 +0,0 @@
{
specialisation.plasma.configuration = {
imports = [
../modules/plasma.nix
];
};
}