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
|
|
@ -33,12 +33,12 @@
|
|||
patch_tox_ruff() {
|
||||
for x in $(find .tox -name ruff -type f -print); do
|
||||
rm $x;
|
||||
ln -sf $(which ruff) $x;
|
||||
ln -sf $(which ruff) $x;
|
||||
done
|
||||
}
|
||||
|
||||
clean-crafts-lxc() {
|
||||
for CRAFT in snapcraft rockcraft charmcraft; do
|
||||
for CRAFT in snapcraft rockcraft charmcraft; do
|
||||
lxc --project $CRAFT list -fcsv -cn | xargs lxc --project $CRAFT delete -f >/dev/null
|
||||
done
|
||||
}
|
||||
|
|
@ -48,6 +48,7 @@
|
|||
|
||||
shellAliases = {
|
||||
ls = "eza -gl --git --color=automatic";
|
||||
ll = "eza -gl --git --color=automatic";
|
||||
tree = "eza --tree";
|
||||
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 = {
|
||||
isNormalUser = true;
|
||||
description = "Lander";
|
||||
userDefaultShell = "zsh";
|
||||
extraGroups = ifTheyExist [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
|
||||
packages = with pkgs; [
|
||||
pkgs.home-manager
|
||||
home-manager
|
||||
zsh
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue