Fix zsh error

This commit is contained in:
installer 2025-01-25 17:52:48 -08:00
parent 7ec87ef1bd
commit 30c8107d13
3 changed files with 18 additions and 5 deletions

View File

@ -17,6 +17,7 @@ in
config = lib.mkIf cfg.enable {
programs = {
zsh.enable = true;
zsh.shellInit = "autoload -U add-zsh-hook";
};
environment.shells = with pkgs; [ zsh ];
home-manager.users.${username} =
@ -41,6 +42,7 @@ in
};
initExtra = ''
autoload -U add-zsh-hook
export GITHUB_TOKEN="$(cat ${config.sops.secrets."github_token".path})"
'';

View File

@ -177,8 +177,18 @@ in
};
# Services to start
services = {
displayManager.sddm.enable = true;
displayManager.sddm.wayland.enable = true;
displayManager = {
sessionPackages = [ pkgs.hyprland ];
defaultSession = "hyprland";
autoLogin = {
enable = true;
user = username;
};
sddm = {
enable = true;
wayland.enable = true;
};
};
xserver = {
enable = false;
xkb = {

7
todo
View File

@ -2,10 +2,11 @@ DONE secrets
DONE syncthing
DONE Logseq
DONE mouse speed
TODO git thru ssh
TODO boot into Hyprland
DONE git thru ssh
DONE boot into Hyprland
DONE zsh error
TODO autologin on boot
TODO zsh error
TODO displayManager theming
TODO ags
TODO sudo nopasswd
TODO brightness controls