aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/configuration
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-23 02:19:40 +0100
committerMx Kookie <kookie@spacekookie.de>2020-12-23 02:21:20 +0100
commitd0b1a2d3e90f72380d101f10d4caae2a750986b5 (patch)
treeea72175345ff6551671ee5315f43c4ef961dfa90 /infra/libkookie/configuration
parente39465caf3293f56d0a9bccee599ea3f902fc2b2 (diff)
libkookie: base: init module with shell tools, git, and fish support
Diffstat (limited to 'infra/libkookie/configuration')
-rw-r--r--infra/libkookie/configuration/base/default.nix8
-rw-r--r--infra/libkookie/configuration/base/fish/default.nix6
-rw-r--r--infra/libkookie/configuration/base/git/default.nix10
-rw-r--r--infra/libkookie/configuration/base/shell/default.nix34
4 files changed, 58 insertions, 0 deletions
diff --git a/infra/libkookie/configuration/base/default.nix b/infra/libkookie/configuration/base/default.nix
new file mode 100644
index 000000000000..a71f54a00d2e
--- /dev/null
+++ b/infra/libkookie/configuration/base/default.nix
@@ -0,0 +1,8 @@
+/**
+ * A set of userspace tools to install for all systems
+ */
+{ config, lib, pkgs, ... }:
+
+{
+ imports = [ ./fish ./git ./shell ]
+}
diff --git a/infra/libkookie/configuration/base/fish/default.nix b/infra/libkookie/configuration/base/fish/default.nix
new file mode 100644
index 000000000000..a817f1f51669
--- /dev/null
+++ b/infra/libkookie/configuration/base/fish/default.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }:
+
+{
+ imports = [ <modules/base/fish/hm.nix> ];
+ libkookie.base.fish.enable = true;
+}
diff --git a/infra/libkookie/configuration/base/git/default.nix b/infra/libkookie/configuration/base/git/default.nix
new file mode 100644
index 000000000000..36df829ba52b
--- /dev/null
+++ b/infra/libkookie/configuration/base/git/default.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+let
+ git = (pkgs.git.override { svnSupport = true; sendEmailSupport = true; });
+in
+{
+ environment.systemPackages = [ git ] ++
+ (with pkgs.gitAndTools;
+ [ hub git-remote-hg ]);
+}
diff --git a/infra/libkookie/configuration/base/shell/default.nix b/infra/libkookie/configuration/base/shell/default.nix
new file mode 100644
index 000000000000..32a37330c3f0
--- /dev/null
+++ b/infra/libkookie/configuration/base/shell/default.nix
@@ -0,0 +1,34 @@
+/* ADDITIONAL SHELL TOOLS
+ *
+ * This module is a bit hard to wrap your head around, not because of
+ * what it does but because of the classification of tools it
+ * contains. It's a list of various utilities that are super useful
+ * for day-to-day use, but it's difficult to avoid just having one
+ * large file that contains _all_ applications you would ever use.
+ *
+ * Only add stuff to this list if you're sure that it will be useful
+ * on ALL workstations, as well as root-servers and user-servers!
+ */
+
+{ pkgs, ... }:
+
+{
+ home-manager.users.spacekookie = { ... }: {
+ home.packages = with pkgs; [
+ bat
+ curl
+ fzf
+ htop
+ kakoune # used to have a vim-type editor everywhere
+ moreutils
+ pciutils
+ pv
+ ripgrep
+ skim
+ tmux
+ tree
+ usbutils
+ wget
+ ];
+ };
+}