diff options
author | sefidel <contact@sefidel.net> | 2023-09-22 17:45:20 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-22 17:45:20 +0900 |
commit | 3a5e1df0689d33957a12dcb3fd77ddeeaba3077a (patch) | |
tree | 1a8784e772bed014ca09ed31e320d33386e2e7cb /home/profiles/base/default.nix | |
parent | 5e3887b73742609ae0a335cfce828ce65044ea47 (diff) | |
download | nixrc-3a5e1df0689d33957a12dcb3fd77ddeeaba3077a.tar.gz nixrc-3a5e1df0689d33957a12dcb3fd77ddeeaba3077a.zip |
chore: 2nd darwin cleanup
Diffstat (limited to 'home/profiles/base/default.nix')
-rw-r--r-- | home/profiles/base/default.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index 318031f..1be9e21 100644 --- a/home/profiles/base/default.nix +++ b/home/profiles/base/default.nix @@ -59,9 +59,6 @@ in (pkgs.writeShellScriptBin "0x0" (import ./scripts/0x0.nix)) (pkgs.writeShellScriptBin "airport" (import ./scripts/airport.nix)) - ] ++ lib.optionals (pkgs.stdenv.isDarwin) [ - pkgs.iterm2 - pkgs.rsync ]; @@ -138,18 +135,12 @@ in ]; shellAliases = config.programs.zshell.aliases; - } // lib.optionalAttrs (pkgs.stdenv.isDarwin) { - initExtra = import ./config/zsh-darwin-gpg-ssh.nix; }; zshell.aliases = { vim = "nvim"; nvimdiff = "nvim -d"; pardl = "aria2c -c -s 16 -x 16 -k 1M -j 1"; - } // lib.optionalAttrs (pkgs.stdenv.isDarwin) { - # <nixpkgs>/nixos/modules/config/shells-environment.nix - clear = "clear && printf '\\e[3J'"; - l = "ls -alh"; }; zoxide = { @@ -231,18 +222,5 @@ in ''; }; }; - - home.file."${config.programs.gpg.homedir}/gpg-agent.conf".text = lib.mkIf pkgs.stdenv.isDarwin '' - default-cache-ttl 3600 - default-cache-ttl-ssh 3600 - pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac - allow-preset-passphrase - enable-ssh-support - ''; - - home.file."${config.programs.gpg.homedir}/sshcontrol".text = lib.mkIf pkgs.stdenv.isDarwin '' - 3C79004101E524D10B94F9EE9D3744F4B25F8795 - 159371696FD285FF0811692FBFAA6E4AF017CDDE - ''; }; } |