home: enable zsh, configure qt
This commit is contained in:
parent
aceb8a70bd
commit
6bbfe37bba
@ -10,6 +10,11 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# Common options for standalone window managers; many of these (or
|
# Common options for standalone window managers; many of these (or
|
||||||
# alternatives thereof) are pulled in by desktop environments.
|
# alternatives thereof) are pulled in by desktop environments.
|
||||||
|
|
||||||
|
qt.enable = true;
|
||||||
|
qt.platformTheme = "qtct";
|
||||||
|
qt.style.name = "kvantum";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
qt5ct
|
qt5ct
|
||||||
qt6ct
|
qt6ct
|
||||||
|
@ -15,6 +15,29 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
nixfiles.programs.comma.enable = true;
|
nixfiles.programs.comma.enable = true;
|
||||||
|
|
||||||
|
# TODO move this stuff to a zsh.nix or something; this is just a quick fix so home.sessionVariables works
|
||||||
|
programs.fzf.enable = true;
|
||||||
|
programs.fzf.enableZshIntegration = true;
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
envExtra = ''
|
||||||
|
export HOME_MANAGER_MANAGED=true
|
||||||
|
[[ -e ~/dotfiles/shell/.zshrc ]] && . ~/dotfiles/shell/.zshrc ]]
|
||||||
|
unset HOME_MANAGER_MANAGED
|
||||||
|
'';
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
theme = "robbyrussell";
|
||||||
|
extraConfig = ''
|
||||||
|
DISABLE_MAGIC_FUNCTIONS="true"
|
||||||
|
'';
|
||||||
|
plugins = [
|
||||||
|
"git"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
btop
|
btop
|
||||||
fzf
|
fzf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user