feat: add zsh as default shell

This commit is contained in:
Mohammad Rafiq 2025-03-14 13:33:14 +08:00
parent f0a423f2f4
commit 466697be14
7 changed files with 28 additions and 6 deletions

View file

@ -1,4 +1,10 @@
{pkgs, ...}: {
imports = [
./networking.nix
./shell.nix
./stylix.nix
];
users.users.rafiq = {
isNormalUser = true;
description = "rafiq";

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
programs.zsh = {
enable = true;
};
users.defaultUserShell = pkgs.zsh;
environment.pathsToLink = ["/share/zsh"]; # enables completion
}

View file

@ -0,0 +1,5 @@
{
imports = [
./programs/zsh.nix
];
}

View file

@ -1,12 +1,10 @@
{
imports = [
./hw-nemesis.nix
./modules/bootloaders/systemd-boot.nix
./modules/common.nix
./modules/desktop.nix
./modules/bootloaders/systemd-boot.nix
./modules/hardware/nvidia.nix
./modules/networking.nix
./modules/stylix.nix
];
networking.hostName = "nemesis";

View file

@ -3,8 +3,6 @@
./hw-orpheus.nix
./modules/bootloaders/extlinux.nix
./modules/common.nix
./modules/networking.nix
./modules/stylix.nix
inputs.nixos-hardware.nixosModules.raspberry-pi-4
"${inputs.nixpkgs}/nixos/modules/profiles/minimal.nix"
];