Compare commits

...

2 Commits

Author SHA1 Message Date
6bbfe37bba
home: enable zsh, configure qt 2024-02-24 11:48:08 +01:00
aceb8a70bd
wm-common: install some theming stuff 2024-02-23 21:55:34 +01:00
3 changed files with 47 additions and 0 deletions

View File

@ -10,6 +10,27 @@ 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
swaybg
swayidle
libsForQt5.qtstyleplugin-kvantum
pcmanfm
# very consistent
(catppuccin-papirus-folders.override {accent = "mauve"; flavor = "mocha"; })
(pkgs.catppuccin-kvantum.override {accent = "Mauve"; variant = "Mocha"; })
catppuccin-cursors.mochaMauve
arc-theme
];
programs = {
swaylock = {
enable = true;

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

View File

@ -86,6 +86,9 @@ in
outputs.packages."${pkgs.system}".atool
];
# Needed for Kvantum themes to be detected
environment.pathsToLink = [ "/share/Kvantum" ];
programs.neovim.defaultEditor = lib.mkDefault true;
programs.ssh.enableAskPassword = lib.mkDefault false;