aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-15 00:50:52 +0900
committersefidel <contact@sefidel.net>2023-02-15 00:50:52 +0900
commit46e0b001d8ce9e6c20ff9a0dede25d5ccddff610 (patch)
tree2599677fd19489a8d0c9608147b859589363754e
parente38bbeb8a1a842b4e5091254fa55e1854e5dc6d6 (diff)
downloadnixrc-46e0b001d8ce9e6c20ff9a0dede25d5ccddff610.zip
feat(nixos/alpha,kompakt): add git to systemPackages
-rw-r--r--nixos/alpha/configuration.nix2
-rw-r--r--nixos/kompakt/configuration.nix4
2 files changed, 5 insertions, 1 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index b549885..9e5c942 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -105,7 +105,7 @@
time.timeZone = "Asia/Seoul";
- environment.systemPackages = with pkgs; [ gcc gnumake ];
+ environment.systemPackages = with pkgs; [ gcc git gnumake ];
services.zfs.trim.enable = true;
services.zfs.autoScrub.enable = true;
diff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix
index 6989a33..264526f 100644
--- a/nixos/kompakt/configuration.nix
+++ b/nixos/kompakt/configuration.nix
@@ -58,6 +58,10 @@
services.openssh.enable = true;
+ environment.systemPackages = with pkgs; [
+ git
+ ];
+
environment.persistence."/persist".directories = [
"/etc/ssh"
"/etc/nixos"