mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:24:35 +00:00
Fix various issues
This commit is contained in:
parent
f5ffba4a56
commit
8390c54639
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue