summaryrefslogtreecommitdiff
path: root/depo
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-22 17:49:57 -0700
committerBen Sima <ben@bsima.me>2019-05-22 17:49:57 -0700
commit61fe9c388c051e3aebef3fd8b70732869e6f8de8 (patch)
treeb22936fda76ee038c281f1baa300eb8e7ba270fa /depo
parent7a6cd3f4e1031b4bb4a0029f97064a9c02d5f95d (diff)
add system packages
Diffstat (limited to 'depo')
-rw-r--r--depo/hidor-kahih/configuration.nix5
-rw-r--r--depo/hidor-kahih/default.nix1
-rw-r--r--depo/nutin-madaj/default.nix6
-rw-r--r--depo/packages.nix9
4 files changed, 16 insertions, 5 deletions
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
+ ];
+}