aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/nixos/x86_64-linux/do-rproxy/default.nix1
-rw-r--r--machines/nixos/x86_64-linux/synology-vm/default.nix1
-rw-r--r--profiles/core/tools.nix19
-rw-r--r--profiles/default.nix17
4 files changed, 21 insertions, 17 deletions
diff --git a/machines/nixos/x86_64-linux/do-rproxy/default.nix b/machines/nixos/x86_64-linux/do-rproxy/default.nix
index 705bd30..3c373ef 100644
--- a/machines/nixos/x86_64-linux/do-rproxy/default.nix
+++ b/machines/nixos/x86_64-linux/do-rproxy/default.nix
@@ -25,6 +25,7 @@
"${self}/profiles/server.nix"
"${self}/profiles/core/locale.nix"
"${self}/profiles/core/ssh.nix"
+ "${self}/profiles/core/tools.nix"
];
disko.devices.disk.disk1.device = "/dev/vda";
diff --git a/machines/nixos/x86_64-linux/synology-vm/default.nix b/machines/nixos/x86_64-linux/synology-vm/default.nix
index e3122be..f1d0d9d 100644
--- a/machines/nixos/x86_64-linux/synology-vm/default.nix
+++ b/machines/nixos/x86_64-linux/synology-vm/default.nix
@@ -39,6 +39,7 @@
"${self}/profiles/git-server.nix"
"${self}/profiles/core/locale.nix"
"${self}/profiles/core/ssh.nix"
+ "${self}/profiles/core/tools.nix"
];
# Use the systemd-boot EFI boot loader.
diff --git a/profiles/core/tools.nix b/profiles/core/tools.nix
new file mode 100644
index 0000000..ff6899e
--- /dev/null
+++ b/profiles/core/tools.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+{
+ environment.systemPackages = with pkgs; [
+ curl
+ fd
+ fish
+ git
+ htop
+ jq
+ mtr
+ pciutils
+ powertop
+ ripgrep
+ tcpdump
+ traceroute
+ vim
+ wireguard-tools
+ ];
+}
diff --git a/profiles/default.nix b/profiles/default.nix
index d9aa706..87079fa 100644
--- a/profiles/default.nix
+++ b/profiles/default.nix
@@ -36,23 +36,6 @@
programs.fish.enable = true;
security.sudo.wheelNeedsPassword = false;
- environment.systemPackages = with pkgs; [
- curl
- fd
- fish
- git
- htop
- jq
- mtr
- pciutils
- powertop
- ripgrep
- tcpdump
- traceroute
- vim
- wireguard-tools
- ];
-
## disable that slow "building man-cache" step
documentation.man.generateCaches = lib.mkForce false;
}