Fix various issues

This commit is contained in:
ItsDrike 2024-06-10 20:09:04 +02:00
parent f5ffba4a56
commit 8390c54639
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
3 changed files with 4 additions and 10 deletions

View file

@ -5,8 +5,8 @@
... ...
}: let }: let
inherit (lib) mkIf; inherit (lib) mkIf;
cfg = osConfig.myOptions.programs.launchers.walker; cfg = osConfig.myOptions.home-manager.programs.launchers.walker;
in: { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
walker walker

View file

@ -4,8 +4,8 @@
... ...
}: let }: let
inherit (lib) mkIf; inherit (lib) mkIf;
cfg = osConfig.myOptions.programs.launchers.wofi; cfg = osConfig.myOptions.home-manager.programs.launchers.wofi;
in: { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.wofi = { programs.wofi = {
enable = true; enable = true;

View file

@ -2,12 +2,6 @@
inherit (lib) mkEnableOption mkOption types; inherit (lib) mkEnableOption mkOption types;
in in
{ {
imports = [
./programs
./git.nix
./wms.nix
];
options.myOptions.home-manager.programs = { options.myOptions.home-manager.programs = {
launchers = { launchers = {
wofi.enable = mkEnableOption "Wofi launcher"; wofi.enable = mkEnableOption "Wofi launcher";