mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: desktop legacy module
This commit is contained in:
parent
5f56c011ab
commit
d463f4d1af
31 changed files with 630 additions and 577 deletions
26
modules/desktop/default.nix
Normal file
26
modules/desktop/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.fireproof.desktop = {
|
||||
enable = lib.mkEnableOption "Enable desktop environment with niri, greetd, and all desktop features";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./monitors.nix
|
||||
./audio.nix
|
||||
./fonts.nix
|
||||
./greetd.nix
|
||||
./niri.nix
|
||||
./qt.nix
|
||||
./screenshot.nix
|
||||
./gtk/default.nix
|
||||
./dms/default.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf config.fireproof.desktop.enable {
|
||||
# All desktop-related configuration is handled by the individual modules
|
||||
# which check for fireproof.desktop.enable
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue