some refactor

This commit is contained in:
cnst
2024-11-01 17:19:21 +01:00
parent 7608e0f934
commit 81a45ac062
9 changed files with 251 additions and 251 deletions

View File

@@ -2,14 +2,11 @@
config,
lib,
pkgs,
umodPath,
osConfig,
...
}: let
inherit (lib) mkIf mkEnableOption mkOption types mkDefault;
cfg = config.home.programs.hyprland;
hyprlandPkg = pkgs.hyprland;
isCnst = osConfig.networking.hostName == "cnix";
in {
imports = [
./appearance.nix
@@ -22,6 +19,7 @@ in {
options = {
home.programs.hyprland = {
enable = mkEnableOption "Enable Hyprland";
user = mkOption {type = types.enum ["cnst" "toothpick"];};
};
};