home: enable zsh, configure qt

This commit is contained in:
NullBite 2024-02-24 11:48:08 +01:00
parent aceb8a70bd
commit 6bbfe37bba
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 28 additions and 0 deletions

View File

@ -10,6 +10,11 @@ in
config = lib.mkIf cfg.enable {
# Common options for standalone window managers; many of these (or
# alternatives thereof) are pulled in by desktop environments.
qt.enable = true;
qt.platformTheme = "qtct";
qt.style.name = "kvantum";
home.packages = with pkgs; [
qt5ct
qt6ct

View File

@ -15,6 +15,29 @@ in
config = lib.mkIf cfg.enable {
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; [
btop
fzf