move zoxide to hosts/common
This commit is contained in:
parent
1f9231aab3
commit
8f0422458c
8 changed files with 14 additions and 27 deletions
|
@ -7,5 +7,6 @@ _: {
|
|||
./malloc-perturb.nix
|
||||
./noisetorch.nix
|
||||
./starship.nix
|
||||
./zoxide.nix
|
||||
];
|
||||
}
|
||||
|
|
13
hosts/common/desktop/zoxide.nix
Normal file
13
hosts/common/desktop/zoxide.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (config.poz.other.system) username;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = config.poz.programs.zsh.enable;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -119,7 +119,6 @@ in {
|
|||
};
|
||||
profiling = false;
|
||||
};
|
||||
zoxide.enable = true;
|
||||
anyrun.enable = true;
|
||||
vesktop.enable = true;
|
||||
btop.enable = true;
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
};
|
||||
profiling = false;
|
||||
};
|
||||
zoxide.enable = true;
|
||||
anyrun.enable = true;
|
||||
btop.enable = true;
|
||||
foot.enable = true;
|
||||
|
|
|
@ -75,7 +75,6 @@ in {
|
|||
};
|
||||
profiling = false;
|
||||
};
|
||||
zoxide.enable = true;
|
||||
anyrun.enable = true;
|
||||
vesktop.enable = true;
|
||||
btop.enable = true;
|
||||
|
|
|
@ -73,7 +73,6 @@ in {
|
|||
};
|
||||
profiling = false;
|
||||
};
|
||||
zoxide.enable = true;
|
||||
anyrun.enable = true;
|
||||
btop.enable = true;
|
||||
foot.enable = true;
|
||||
|
|
|
@ -2,7 +2,6 @@ _: {
|
|||
imports = [
|
||||
./git.nix
|
||||
./nh.nix
|
||||
./zoxide.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.poz.programs.zoxide;
|
||||
inherit (config.poz.other.system) username;
|
||||
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
options.poz.programs.zoxide.enable = mkEnableOption "zoxide";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = config.poz.programs.zsh.enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue