adjusted workvm configuration
This commit is contained in:
parent
16770c5d67
commit
69e1940191
36 changed files with 466 additions and 326 deletions
23
modules/home/apps/cli-apps/fish/default.nix
Normal file
23
modules/home/apps/cli-apps/fish/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard; let
|
||||
cfg = config.wyrdgard.apps.cli-apps.fish;
|
||||
in {
|
||||
options.wyrdgard.apps.cli-apps.fish = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable the fish shell";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
fish
|
||||
starship
|
||||
colorls
|
||||
];
|
||||
};
|
||||
}
|
18
modules/home/apps/cli-apps/home-manager/default.nix
Normal file
18
modules/home/apps/cli-apps/home-manager/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
inherit (lib.wyrdgard) enabled;
|
||||
|
||||
cfg = config.wyrdgard.apps.cli-apps.home-manager;
|
||||
in {
|
||||
options.wyrdgard.apps.cli-apps.home-manager = {
|
||||
enable = mkEnableOption "home-manager";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.home-manager = enabled;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue