rix101/nix-on-droid/cheetah/configuration.nix
reo101 05d057eba4 feat(cheetah): add zsh
Set `zsh` as default shell
Integrate with `direnv` and `starship`
2022-11-24 02:16:02 +02:00

33 lines
731 B
Nix

{ inputs, outputs, lib, config, pkgs, ... }:
{
environment.packages = with pkgs; [];
# Backup etc files instead of failing to activate generation if a file already exists in /etc
environment.etcBackupExtension = ".bak";
# Remove motd
environment.motd = null;
# # Set $EDITOR
# environment.variables.EDITOR = "nvim";
user.shell = "${pkgs.zsh}/bin/zsh";
# Read the changelog before changing this value
system.stateVersion = "22.05";
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
time.timeZone = "Europe/Sofia";
home-manager = {
config = ./home.nix;
backupFileExtension = "hm-bak";
# useGlobalPkgs = true;
extraSpecialArgs = { inherit inputs; };
};
}