From ba0dfdd04a5dc8b35d88b41d6bcfa6b17528170c Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 21 Nov 2025 20:47:10 +0100 Subject: [PATCH] refactor: move zsh configuration to home-manager --- hosts/default/configuration.nix | 10 +--------- hosts/default/home.nix | 14 +++++++++++++- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 46b7577..e8b1b3d 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -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.variables.EDITOR = "vim"; @@ -110,7 +102,7 @@ autosuggestions.enable = true; ohMyZsh = { enable = true; - plugins = [ "git" "sudo" "python" "ansible" ]; + plugins = [ "git" "sudo" ]; theme = "agnoster"; }; }; diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 80f1cce..c93b67a 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, inputs, ... }: +{ config, pkgs, ... }: { # user config @@ -45,6 +45,18 @@ 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 #home.file."qtile-config" = { # target = ".config/qtile/config.py";