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,10 +5,13 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
primaryMonitorName = (builtins.head config.monitors).name or "";
|
||||
hasMonitors = config.monitors != [];
|
||||
primaryMonitorName =
|
||||
if hasMonitors
|
||||
then (builtins.head config.monitors).name or ""
|
||||
else "";
|
||||
in {
|
||||
config = lib.mkIf config.fireproof.desktop.enable {
|
||||
# TODO: Move these to a separate module
|
||||
config = lib.mkIf config.fireproof.desktop.windowManager.enable {
|
||||
programs.xwayland.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue