modules: system: move 'packages'
This commit is contained in:
parent
130e04a152
commit
a3eaa6d97e
3 changed files with 1 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
./language.nix
|
||||
./media.nix
|
||||
./nix.nix
|
||||
./packages.nix
|
||||
./users.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
23
modules/system/packages.nix
Normal file
23
modules/system/packages.nix
Normal 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.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue