about summary refs log tree commit diff
path: root/modules/wayland.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2025-02-17 02:21:56 +0300
committerazahi <azat@bahawi.net>2025-02-17 02:21:56 +0300
commit59180328cda59817d71cd58c8f48ead047375064 (patch)
tree2cdd7d1bfa309839ef624c19daf283f510aacf69 /modules/wayland.nix
parent2025-02-05 (diff)
2025-02-17
Diffstat (limited to '')
-rw-r--r--modules/wayland.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/wayland.nix b/modules/wayland.nix
index f15f66e..8dcbfc8 100644
--- a/modules/wayland.nix
+++ b/modules/wayland.nix
@@ -4,14 +4,13 @@
   pkgs,
   ...
 }:
-with lib;
 let
   cfg = config.nixfiles.modules.wayland;
 in
 {
-  options.nixfiles.modules.wayland.enable = mkEnableOption "Wayland";
+  options.nixfiles.modules.wayland.enable = lib.mkEnableOption "Wayland";
 
-  config = mkIf cfg.enable {
+  config = lib.mkIf cfg.enable {
     nixfiles.modules.foot.enable = true;
 
     hm.home = {

Consider giving Nix/NixOS a try! <3