refactor: move zsh configuration to home-manager
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user