feat(home-manager): service defs and fmt
fmt: reformatted using nixpkgs-fmt prettifier mpd: created configuration hypr: add window rules commons: add usingMusicPlayerDaemon variable
This commit is contained in:
parent
2d4b39c72f
commit
7d88765f5d
67 changed files with 633 additions and 573 deletions
|
@ -1,32 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.myShells;
|
||||
in
|
||||
with lib; {
|
||||
imports = [
|
||||
./zsh.nix
|
||||
./fish
|
||||
./nushell
|
||||
./zoxide.nix
|
||||
./direnv.nix
|
||||
./starship
|
||||
];
|
||||
with lib; {
|
||||
imports = [
|
||||
./zsh.nix
|
||||
./fish
|
||||
./nushell
|
||||
./zoxide.nix
|
||||
./direnv.nix
|
||||
./starship
|
||||
];
|
||||
|
||||
options.myShells = {
|
||||
defaultShell = with types; mkOption {type = str;};
|
||||
enable = mkEnableOption "Enables the shell customisation module.";
|
||||
options.myShells = {
|
||||
defaultShell = with types; mkOption { type = str; };
|
||||
enable = mkEnableOption "Enables the shell customisation module.";
|
||||
};
|
||||
config = {
|
||||
myShells = {
|
||||
zsh.enable = false;
|
||||
fish.enable = true;
|
||||
#nushell.enable = true;
|
||||
defaultShell = "${config.programs.fish.package}/bin/fish";
|
||||
prompts.starship.enable = true;
|
||||
};
|
||||
config = {
|
||||
myShells = {
|
||||
zsh.enable = false;
|
||||
fish.enable = true;
|
||||
#nushell.enable = true;
|
||||
defaultShell = "${config.programs.fish.package}/bin/fish";
|
||||
prompts.starship.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue