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,36 +1,36 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.shell.zsh;
|
||||
in
|
||||
with lib; {
|
||||
options.myShells.zsh = {
|
||||
enable = mkEnableOption "Enables zsh and components.";
|
||||
};
|
||||
config = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
shellAliases = import ./aliases {inherit pkgs;};
|
||||
dirHashes = {
|
||||
docs = "$HOME/Documents";
|
||||
dl = "$HOME/Downloads";
|
||||
dev = "$HOME/devel";
|
||||
screen = "$HOME/Pictures/Screenshots";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"git"
|
||||
"rsync"
|
||||
"zoxide"
|
||||
];
|
||||
theme = "agnoster";
|
||||
};
|
||||
with lib; {
|
||||
options.myShells.zsh = {
|
||||
enable = mkEnableOption "Enables zsh and components.";
|
||||
};
|
||||
config = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
shellAliases = import ./aliases { inherit pkgs; };
|
||||
dirHashes = {
|
||||
docs = "$HOME/Documents";
|
||||
dl = "$HOME/Downloads";
|
||||
dev = "$HOME/devel";
|
||||
screen = "$HOME/Pictures/Screenshots";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"git"
|
||||
"rsync"
|
||||
"zoxide"
|
||||
];
|
||||
theme = "agnoster";
|
||||
};
|
||||
home.packages = with pkgs; [zoxide];
|
||||
};
|
||||
}
|
||||
home.packages = with pkgs; [ zoxide ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue