From 61fe9c388c051e3aebef3fd8b70732869e6f8de8 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 22 May 2019 17:49:57 -0700 Subject: add system packages --- depo/hidor-kahih/configuration.nix | 5 ----- depo/hidor-kahih/default.nix | 1 + depo/nutin-madaj/default.nix | 6 ++++++ depo/packages.nix | 9 +++++++++ 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 depo/packages.nix diff --git a/depo/hidor-kahih/configuration.nix b/depo/hidor-kahih/configuration.nix index 514c7c0..43885ad 100644 --- a/depo/hidor-kahih/configuration.nix +++ b/depo/hidor-kahih/configuration.nix @@ -20,11 +20,6 @@ time.timeZone = "America/Los_Angeles"; - environment.systemPackages = with pkgs; [ - wget - vnstat - ]; - fonts.fonts = with pkgs; [ google-fonts mononoki source-code-pro fantasque-sans-mono hack-font fira fira-code fira-code-symbols diff --git a/depo/hidor-kahih/default.nix b/depo/hidor-kahih/default.nix index 606ce29..4af629f 100644 --- a/depo/hidor-kahih/default.nix +++ b/depo/hidor-kahih/default.nix @@ -17,6 +17,7 @@ import "${nixpkgs}/nixos" { imports = [ ./hardware.nix ../users.nix + ../packages.nix ./configuration.nix ]; diff --git a/depo/nutin-madaj/default.nix b/depo/nutin-madaj/default.nix index 0b8f8d5..8789c0c 100644 --- a/depo/nutin-madaj/default.nix +++ b/depo/nutin-madaj/default.nix @@ -27,6 +27,7 @@ import "${nixpkgs}/nixos" { # common infra ../users.nix + ../packages.nix # configured modules ./git.nix @@ -49,6 +50,11 @@ import "${nixpkgs}/nixos" { networking.firewall.allowedTCPPorts = [ 22 80 443 ]; + programs.mosh = { + enable = true; + withUtempter = true; + }; + # our custom apps services = { ibb = { diff --git a/depo/packages.nix b/depo/packages.nix new file mode 100644 index 0000000..c542d54 --- /dev/null +++ b/depo/packages.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = [ + pkgs.wget + pkgs.ranger + pkgs.vnstat + ]; +} -- cgit v1.2.3