parent
477ef7759a
commit
88d5d1bdd8
4 changed files with 6 additions and 11 deletions
modules/greetd
|
@ -20,7 +20,6 @@
|
|||
inherit (import ./setupMonitors.nix {inherit config pkgs;}) setupMonitors;
|
||||
|
||||
# Nix stuff
|
||||
isNvidia = config.hardware.nvidia.modesetting.enable;
|
||||
cfgHypr = config.home-manager.users.${mainUser}.wayland.windowManager.hyprland;
|
||||
|
||||
devices = filterAttrs (n: v: hasPrefix "device:" n) cfgHypr.settings;
|
||||
|
@ -44,7 +43,7 @@
|
|||
attrs);
|
||||
in {
|
||||
hyprConf = pkgs.writeText "greetd-hypr-config" (
|
||||
(optionalString isNvidia
|
||||
(optionalString config.nvidia.enable
|
||||
/*
|
||||
hyprlang
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue