about summary refs log tree commit diff
path: root/home/modules/profiles/development
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-02 00:05:25 +0900
committersefidel <contact@sefidel.net>2022-01-02 00:05:25 +0900
commitbf632250b267e175fb2b87303bb6e35c671d0a92 (patch)
tree0488ecfacc415f7a83f399ee5ba024909b363580 /home/modules/profiles/development
parent475444a7ab3ee287ac86ce5f7bb7c1c25525c232 (diff)
downloadnixrc-bf632250b267e175fb2b87303bb6e35c671d0a92.tar.gz
nixrc-bf632250b267e175fb2b87303bb6e35c671d0a92.zip
repo: reformat using nixpkgs-fmt
Diffstat (limited to 'home/modules/profiles/development')
-rw-r--r--home/modules/profiles/development/default.nix140
1 files changed, 70 insertions, 70 deletions
diff --git a/home/modules/profiles/development/default.nix b/home/modules/profiles/development/default.nix
index 3006630..a396ce9 100644
--- a/home/modules/profiles/development/default.nix
+++ b/home/modules/profiles/development/default.nix
@@ -3,82 +3,82 @@
 let
   cfg = config.profiles.development;
 in
-  {
-    options.profiles.development = {
-      enable = lib.mkEnableOption
-        "A profile that enables the system to be used for developing programs";
-      };
+{
+  options.profiles.development = {
+    enable = lib.mkEnableOption
+      "A profile that enables the system to be used for developing programs";
+  };
 
-      config = lib.mkIf cfg.enable {
-        programs.gh.enable = true;
-        programs.git = {
-          enable = true;
-          package = pkgs.gitFull;
+  config = lib.mkIf cfg.enable {
+    programs.gh.enable = true;
+    programs.git = {
+      enable = true;
+      package = pkgs.gitFull;
 
-          userName = "Zack A";
-          userEmail = "hi@boopy.dev";
+      userName = "Zack A";
+      userEmail = "hi@boopy.dev";
 
-          signing = {
-            key = null;
-            signByDefault = true;
-          };
+      signing = {
+        key = null;
+        signByDefault = true;
+      };
 
-          aliases = {
-            graph =
-              "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold cyan)%h%C(reset) - %C(green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all";
-            co = "checkout";
-            br = "branch";
-            st = "status";
-            ps = "push";
-            pl = "pull";
-            root = "rev-parse --show-toplevel";
-          };
+      aliases = {
+        graph =
+          "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold cyan)%h%C(reset) - %C(green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all";
+        co = "checkout";
+        br = "branch";
+        st = "status";
+        ps = "push";
+        pl = "pull";
+        root = "rev-parse --show-toplevel";
+      };
 
-          extraConfig = {
-            init.defaultBranch = "main";
-            pull.rebase = true;
-          };
+      extraConfig = {
+        init.defaultBranch = "main";
+        pull.rebase = true;
+      };
 
-          ignores = [
-            # IntelliJ files and folders
-            ".idea/"
-            "*.iml"
-            # backupfiles and shadow copies done by editors
-            "*~"
-            "\\#*\\#"
-            ".#*"
-            # Elixir language server
-            "/.elixir_ls"
-            # MyPy Cache
-            ".mypy_cache"
-            # Visual Studio Code project configuration
-            "/.vscode"
-            # Result folder for nix builds
-            "result"
-            "result-*"
-            # direnv caches
-            ".direnv/"
-            # emacs/python stuff
-            "flycheck_*.py"
-          ];
-        };
+      ignores = [
+        # IntelliJ files and folders
+        ".idea/"
+        "*.iml"
+        # backupfiles and shadow copies done by editors
+        "*~"
+        "\\#*\\#"
+        ".#*"
+        # Elixir language server
+        "/.elixir_ls"
+        # MyPy Cache
+        ".mypy_cache"
+        # Visual Studio Code project configuration
+        "/.vscode"
+        # Result folder for nix builds
+        "result"
+        "result-*"
+        # direnv caches
+        ".direnv/"
+        # emacs/python stuff
+        "flycheck_*.py"
+      ];
+    };
 
-        home.packages = [ 
-          pkgs.ripgrep
-          pkgs.rust-analyzer
-          pkgs.gnupg
-          pkgs.tig
-          pkgs.silver-searcher
-        ];
+    home.packages = [
+      pkgs.ripgrep
+      pkgs.rust-analyzer
+      pkgs.gnupg
+      pkgs.tig
+      pkgs.silver-searcher
+    ];
 
-        services.gpg-agent = {
-          enable = true;
-          enableExtraSocket = true;
-          defaultCacheTtl = 34560000;
-          defaultCacheTtlSsh = 34560000;
-          maxCacheTtl = 34560000;
-          maxCacheTtlSsh = 34560000;
-        };
-      };
-  }
+    services.gpg-agent = {
+      enable = true;
+      enableExtraSocket = true;
+      defaultCacheTtl = 34560000;
+      defaultCacheTtlSsh = 34560000;
+      maxCacheTtl = 34560000;
+      maxCacheTtlSsh = 34560000;
+    };
+  };
+}