diff --git a/configuration.nix b/configuration.nix index e2ae050..1ba7b93 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 ]; diff --git a/home-manager/home.nix b/home-manager/home.nix index c7e0afc..d9b18ff 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -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 = { diff --git a/home-manager/zsh.nix b/home-manager/zsh.nix index de5ba45..dc03ffc 100644 --- a/home-manager/zsh.nix +++ b/home-manager/zsh.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ userSettings, ... }: { programs.zsh = { enable = true; @@ -17,7 +17,7 @@ ]; }; shellAliases = { - ls = "eza -l"; + ls = "eza -lg"; }; }; } \ No newline at end of file