What seems to be a workable config
This commit is contained in:
@ -4,7 +4,7 @@ let
|
||||
emacsOverlaySha256 = "06413w510jmld20i4lik9b36cfafm501864yq8k4vxl5r4hn0j0h";
|
||||
in
|
||||
{
|
||||
|
||||
home-manager.backupFileExtension = "nix-backup";
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
@ -1,8 +1,7 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let name = "%NAME%";
|
||||
user = "%USER%";
|
||||
email = "%EMAIL%"; in
|
||||
let name = "olaf";
|
||||
user = "olaf";
|
||||
email = "github@dacht.net"; in
|
||||
{
|
||||
# Shared shell configuration
|
||||
zsh = {
|
||||
@ -270,12 +269,14 @@ let name = "%NAME%";
|
||||
)
|
||||
];
|
||||
matchBlocks = {
|
||||
"Host *" = {
|
||||
identityAgent="\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
||||
};
|
||||
"github.com" = {
|
||||
identitiesOnly = true;
|
||||
identityFile = [
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux
|
||||
"/home/${user}/.ssh/id_github"
|
||||
)
|
||||
"/home/${user}/.ssh/id_github" )
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin
|
||||
"/Users/${user}/.ssh/id_github"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
with pkgs; [
|
||||
# General packages for development and system management
|
||||
alacritty
|
||||
#alacritty
|
||||
aspell
|
||||
aspellDicts.en
|
||||
bash-completion
|
||||
@ -15,6 +15,9 @@ with pkgs; [
|
||||
sqlite
|
||||
wget
|
||||
zip
|
||||
htop
|
||||
ncdu
|
||||
nixfmt-rfc-style
|
||||
|
||||
# Encryption and security tools
|
||||
age
|
||||
@ -58,4 +61,7 @@ with pkgs; [
|
||||
# Python packages
|
||||
python3
|
||||
virtualenv
|
||||
|
||||
# Development
|
||||
|
||||
]
|
||||
|
Reference in New Issue
Block a user