about summary refs log tree commit diff
path: root/darwinConfigurations/mairon
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-02-14 23:04:05 +0300
committerAzat Bahawi <azat@bahawi.net>2023-02-14 23:04:05 +0300
commit7ed022bc9a3c89834016c866e387b60ba4523eb6 (patch)
treea0984c8df3016e84910818a60d7f3aeb42b7a718 /darwinConfigurations/mairon
parent2023-02-03 (diff)
2023-02-14
Diffstat (limited to 'darwinConfigurations/mairon')
-rw-r--r--darwinConfigurations/mairon/default.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/darwinConfigurations/mairon/default.nix b/darwinConfigurations/mairon/default.nix
index 86021c1..31ab461 100644
--- a/darwinConfigurations/mairon/default.nix
+++ b/darwinConfigurations/mairon/default.nix
@@ -1,6 +1,7 @@
 {
   config,
   lib,
+  pkgs,
   this,
   ...
 }:
@@ -8,11 +9,18 @@ with lib; {
   nixfiles.modules.vscode.enable = true;
 
   # TODO Make this per-directory/per-remote.
-  hm.programs.git = {
-    userName = mkForce "Firstname Lastname";
-    userEmail = mkForce "username@work.com";
-    signing.key = mkForce "@PGP_KEY@";
-    extraConfig."url \"git@gitlab.services.work.com:\"".insteadOf = "work:";
+  hm = {
+    packages = with pkgs; [
+      ansible
+      ansible-lint
+    ];
+
+    programs.git = {
+      userName = mkForce "Firstname Lastname";
+      userEmail = mkForce "username@work.com";
+      signing.key = mkForce "@PGP_KEY@";
+      extraConfig."url \"git@gitlab.services.work.com:\"".insteadOf = "work:";
+    };
   };
 
   networking = {

Consider giving Nix/NixOS a try! <3