mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
9462f39f47
commit
cb6d57536b
@ -1,6 +1,11 @@
|
||||
{
|
||||
imports = [
|
||||
./gnome.nix
|
||||
./plasma.nix
|
||||
];
|
||||
specialisation = {
|
||||
gnome.configuration.imports = [
|
||||
./gnome.nix
|
||||
];
|
||||
|
||||
plasma.configuration.imports = [
|
||||
./plasma.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
specialisation.gnome.configuration = {
|
||||
imports = [
|
||||
../modules/gnome.nix
|
||||
];
|
||||
};
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
specialisation.plasma.configuration = {
|
||||
imports = [
|
||||
../modules/plasma.nix
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user