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

View File

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

7
todo
View File

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