fixes for zsh

This commit is contained in:
John Lancaster
2025-04-04 00:08:52 -05:00
parent feae94f042
commit e73e22d0b5
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, lib, userSettings, systemSettings, ... }:
{
imports = [
(import ./home-manager/home.nix {inherit systemSettings userSettings lib;})
(import ./home-manager/home.nix {inherit systemSettings userSettings lib pkgs;})
./nixos
./scripts
];

View File

@@ -1,4 +1,4 @@
{ lib, systemSettings, userSettings, ... }:
{ lib, pkgs, systemSettings, userSettings, ... }:
{
security.sudo-rs = {
enable = true;
@@ -10,6 +10,7 @@
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
openssh.authorizedKeys.keyFiles = [ ../secrets/authorized_keys ];
shell = "${pkgs.zsh}/bin/zsh";
};
home-manager = {

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ userSettings, ... }:
{
programs.zsh = {
enable = true;
@@ -17,7 +17,7 @@
];
};
shellAliases = {
ls = "eza -l";
ls = "eza -lg";
};
};
}