mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: more wsl tweaks
This commit is contained in:
parent
50289dcc0d
commit
72a3dc6c5a
10 changed files with 104 additions and 40 deletions
|
|
@ -5,6 +5,11 @@
|
|||
}: {
|
||||
options.fireproof.desktop = {
|
||||
enable = lib.mkEnableOption "Enable desktop environment with niri, greetd, and all desktop features";
|
||||
windowManager.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = config.fireproof.desktop.enable;
|
||||
description = "Enable window manager (niri) and dank material shell (dms)";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
|
@ -18,9 +23,4 @@
|
|||
./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