modules: system: move 'packages'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:56:05 +02:00
parent 130e04a152
commit a3eaa6d97e
3 changed files with 1 additions and 1 deletions

View file

@ -7,6 +7,7 @@
./language.nix
./media.nix
./nix.nix
./packages.nix
./users.nix
];
}

View file

@ -0,0 +1,23 @@
# Common packages
{ config, pkgs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
git
git-crypt
mosh
vim
wget
];
programs.vim.defaultEditor = true; # Modal editing is life
programs.zsh = {
enable = true; # Use integrations
# Disable global compinit when a user config exists
enableGlobalCompInit = !config.my.home.zsh.enable;
};
nixpkgs.config.allowUnfree = true; # Because I don't care *that* much.
}