summaryrefslogtreecommitdiff
path: root/use-cases/sysadmin
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-05 09:48:04 +0200
committerLinnnus <[email protected]>2023-09-05 09:48:04 +0200
commit7d4ab89f1e6264e124109bf25eafaafdf1aec02a (patch)
treeb6af29bfe66c231b1a71bb05c9df211afe4cf341 /use-cases/sysadmin
Initial commit
Diffstat (limited to 'use-cases/sysadmin')
-rw-r--r--use-cases/sysadmin/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/use-cases/sysadmin/default.nix b/use-cases/sysadmin/default.nix
new file mode 100644
index 0000000..1958797
--- /dev/null
+++ b/use-cases/sysadmin/default.nix
@@ -0,0 +1,16 @@
+# This module defines Home Manager configuration options for the 'sysadmin' use
+# case. That is, basic system administration.
+
+{ pkgs, super, lib, ... }:
+
+let
+ inherit (lib) optional;
+in
+{
+ home.packages = with pkgs; [
+ tree
+ jc
+ jq
+ # is this not the right it is the one passed to home-manager not nixos ???? 'config'?
+ ] ++ (optional (!super.my.use-cases.development.enable) vim);
+}