From 7a372ed81256ce5d6aa608be9bebe173ab4e042e Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 18 Jan 2022 17:38:31 +0900 Subject: project: rewrite --- home/modules/profiles/development/default.nix | 87 --------------------------- 1 file changed, 87 deletions(-) delete mode 100644 home/modules/profiles/development/default.nix (limited to 'home/modules/profiles/development/default.nix') diff --git a/home/modules/profiles/development/default.nix b/home/modules/profiles/development/default.nix deleted file mode 100644 index 75f482f..0000000 --- a/home/modules/profiles/development/default.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ config, lib, pkgs, self, ... }: - -let - cfg = config.profiles.development; - - inherit (self.packages.x86_64-linux) rust-nightly; -in -{ - 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.gpg.enable = true; - programs.git = { - enable = true; - package = pkgs.gitFull; - - userName = "Zack A"; - userEmail = "hi@boopy.dev"; - - 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"; - }; - - 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" - ]; - }; - - home.packages = [ - pkgs.bfg-repo-cleaner - # Fix gpg not recognizing foot terminfo - pkgs.foot.terminfo - pkgs.ripgrep - pkgs.rust-analyzer - rust-nightly - pkgs.tig - pkgs.silver-searcher - pkgs.diffoscopeMinimal - ]; - - services.gpg-agent = { - enable = true; - pinentryFlavor = "curses"; - }; - }; -} - -- cgit 1.4.1