aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 19:31:27 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 19:31:27 -0700
commit4f5ccfb7924820cf0bb51a1f5f6a8697cebd58da (patch)
tree8a7ad0ec1c744733c6db40f824734851286fb15c /modules
parentmove locale configuration to a module (diff)
downloadinfra-4f5ccfb7924820cf0bb51a1f5f6a8697cebd58da.tar.gz
refactor default packages to a module
Diffstat (limited to '')
-rw-r--r--modules/system/packages/default.nix (renamed from hosts/common/system/software.nix)10
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/common/system/software.nix b/modules/system/packages/default.nix
index e872679..49d7920 100644
--- a/hosts/common/system/software.nix
+++ b/modules/system/packages/default.nix
@@ -1,9 +1,12 @@
-{ pkgs, config, lib, ... }:
-
+# Common packages
+{ config, lib, pkgs, ... }:
with lib;
-
let linuxpkgs = config.boot.kernelPackages;
in {
+
+ # It's always useful to have bash around
+ environment.shells = with pkgs; [ bashInteractive ];
+
environment.systemPackages = with pkgs; [
binutils
cacert
@@ -40,7 +43,6 @@ in {
vim
wget
wireguard
- zsh
];
programs.bcc.enable = true;