From f9a851cda2fd99d34d6fee623724342a6fe32686 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 17 Jun 2023 09:42:47 -0400 Subject: [PATCH] meta: Add hyprland-specific setup to hyprland module --- modules/hyprland.nix | 5 +++++ src/main.nix | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/hyprland.nix b/modules/hyprland.nix index dad30ea..879cc7f 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -3,6 +3,11 @@ { programs.hyprland.enable = true; + i18n.inputMethod.enabled = "fcitx5"; + i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; + + security.pam.services.swaylock = { }; + services.udisks2 = { enable = true; mountOnMedia = true; diff --git a/src/main.nix b/src/main.nix index 9b00313..0b738b1 100644 --- a/src/main.nix +++ b/src/main.nix @@ -26,11 +26,6 @@ let VARIABLES = import ./variables.nix; in { i18n.defaultLocale = VARIABLES.defaultLocale; i18n.supportedLocales = VARIABLES.supportedLocales; - i18n.inputMethod.enabled = "fcitx5"; - i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; - - security.pam.services.swaylock = { }; - # nix nix.package = pkgs.nixFlakes; nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];