porthos: split into modules

I have separated the modules into host-specific settings, and generic
settings that ought to be shared by every host.

I only have the 'porthos' host for now, but intend to also add my laptop
'aramis' at some point to this repository.
This commit is contained in:
Bruno BELANYI 2021-02-06 15:35:38 +01:00
parent d1d33fd1d1
commit 3b148ad684
14 changed files with 224 additions and 178 deletions

16
modules/packages.nix Normal file
View file

@ -0,0 +1,16 @@
# Common packages
{ pkgs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
git
git-crypt
mosh
vim
wget
];
nixpkgs.config.allowUnfree = true; # Because I don't care *that* much.
}