mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
115 current 2024-05-08 22:27:54 24.05.20240419.5c24cf2 6.6.28 *
This commit is contained in:
parent
13eac378c6
commit
b422dd8c72
1 changed files with 18 additions and 12 deletions
|
@ -1,33 +1,39 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cpkg = import ../../customPackages { inherit pkgs; };
|
cpkg = import ../../customPackages { inherit pkgs; };
|
||||||
|
zshInitArgs = [
|
||||||
|
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||||
|
"source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
|
"[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh"
|
||||||
|
"setopt globstarshort"
|
||||||
|
];
|
||||||
|
_z1 = lib.concatMapStrings (x: x + "\n") zshInitArgs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
programs.zsh.oh-my-zsh.enable = true;
|
programs.zsh.oh-my-zsh.enable = true;
|
||||||
programs.zsh.initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme" + "\n" + "source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" + "\n" + "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh";
|
programs.zsh.initExtra = builtins.trace _z1 _z1;
|
||||||
|
|
||||||
|
programs.zoxide.enable = true;
|
||||||
|
programs.zoxide.enableZshIntegration = true;
|
||||||
|
|
||||||
programs.zoxide.enable = true;
|
|
||||||
programs.zoxide.enableZshIntegration = true;
|
|
||||||
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# nixpkg.config.allowUnfree = true;
|
# nixpkg.config.allowUnfree = true;
|
||||||
# manage.
|
# manage.
|
||||||
home.username = "meyer";
|
home.username = "meyer";
|
||||||
home.homeDirectory = "/home/meyer";
|
home.homeDirectory = "/home/meyer";
|
||||||
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
flameshot = {
|
flameshot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.General.showDesktopNotification = false;
|
settings.General.showDesktopNotification = false;
|
||||||
settings.General.startupLaunch = false;
|
settings.General.startupLaunch = false;
|
||||||
# settings.Shortcuts.TYPE_IMAGEUPLOADER = "";
|
# settings.Shortcuts.TYPE_IMAGEUPLOADER = "";
|
||||||
# settings.Shortcuts.TYPE_COPY = "Return";
|
# settings.Shortcuts.TYPE_COPY = "Return";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
|
Loading…
Reference in a new issue