refactor: move zsh configuration to home-manager

This commit is contained in:
2025-11-21 20:47:10 +01:00
parent d678d9b0fb
commit ba0dfdd04a
2 changed files with 14 additions and 10 deletions

View File

@@ -71,14 +71,6 @@
}; };
}; };
#services.displayManager.lightdm.enable = true;
#services.desktopManager.session = [ {
# name = "qtile";
# start = ''
# exec ${pkgs.qtile}/bin/qtile start
# '';
#} ];
environment.pathsToLink = [ "/libexec" ]; environment.pathsToLink = [ "/libexec" ];
environment.variables.EDITOR = "vim"; environment.variables.EDITOR = "vim";
@@ -110,7 +102,7 @@
autosuggestions.enable = true; autosuggestions.enable = true;
ohMyZsh = { ohMyZsh = {
enable = true; enable = true;
plugins = [ "git" "sudo" "python" "ansible" ]; plugins = [ "git" "sudo" ];
theme = "agnoster"; theme = "agnoster";
}; };
}; };

View File

@@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { config, pkgs, ... }:
{ {
# user config # user config
@@ -45,6 +45,18 @@
userEmail = "aaron@0x29a.ch"; userEmail = "aaron@0x29a.ch";
}; };
programs.zsh = {
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "sudo" "python" "ansible" ];
theme = "agnoster";
};
};
## deploy qtile config ## deploy qtile config
#home.file."qtile-config" = { #home.file."qtile-config" = {
# target = ".config/qtile/config.py"; # target = ".config/qtile/config.py";