40 lines
748 B
Nix
40 lines
748 B
Nix
|
{ config, pkgs, inputs, ... }:
|
||
|
|
||
|
{
|
||
|
# Allow unfree packages
|
||
|
nixpkgs.config = {
|
||
|
allowUnfree = true;
|
||
|
};
|
||
|
# Set zsh (config is still per user)
|
||
|
programs.zsh.enable = true;
|
||
|
users.defaultUserShell = pkgs.zsh;
|
||
|
environment = {
|
||
|
# Default shell
|
||
|
shells = [ pkgs.zsh ];
|
||
|
# Other defaults
|
||
|
variables = {
|
||
|
EDITOR = "vi";
|
||
|
SYSTEMD_EDITOR = "vi";
|
||
|
VISUAL = "vi";
|
||
|
};
|
||
|
# Nixos default installed packages (this is set to get rid of nano >:3 )
|
||
|
defaultPackages = with pkgs; [
|
||
|
nvi
|
||
|
perl
|
||
|
rsync
|
||
|
strace
|
||
|
];
|
||
|
# Systemwide installed packages
|
||
|
systemPackages = with pkgs; [
|
||
|
ranger
|
||
|
parted
|
||
|
util-linux
|
||
|
bottom
|
||
|
curl
|
||
|
wget
|
||
|
gitui
|
||
|
lynx
|
||
|
];
|
||
|
};
|
||
|
}
|