feat: set zsh as default
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
9191bef278
commit
5065e7ce40
2 changed files with 12 additions and 7 deletions
|
|
@ -48,6 +48,7 @@
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "eza -gl --git --color=automatic";
|
ls = "eza -gl --git --color=automatic";
|
||||||
|
ll = "eza -gl --git --color=automatic";
|
||||||
tree = "eza --tree";
|
tree = "eza --tree";
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,22 @@
|
||||||
{ pkgs, config, lib, ... }:
|
|
||||||
let
|
|
||||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||||
|
in {
|
||||||
users.users.lander = {
|
users.users.lander = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Lander";
|
description = "Lander";
|
||||||
|
userDefaultShell = "zsh";
|
||||||
extraGroups = ifTheyExist [
|
extraGroups = ifTheyExist [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
pkgs.home-manager
|
home-manager
|
||||||
|
zsh
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue