1
0

Add sapling configuration and update

This commit is contained in:
Jip J. Dekker 2023-12-21 17:13:00 +11:00
parent 742b25a0af
commit f317132bdc
4 changed files with 62 additions and 30 deletions

View File

@ -14,12 +14,14 @@ in
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
homebrew.enable = true; homebrew = {
homebrew.casks = pkgs.callPackage ./casks.nix { }; enable = true;
homebrew.brews = [ casks = pkgs.callPackage ./casks.nix { };
"yabai" brews = [
"skhd" "yabai"
]; "skhd"
];
};
# These app IDs are from using the mas CLI app # These app IDs are from using the mas CLI app
# mas = mac app store # mas = mac app store
@ -61,7 +63,18 @@ in
home.stateVersion = "21.11"; home.stateVersion = "21.11";
programs = { programs = {
skim.enable = true; skim.enable = true;
} // import ../shared/home-manager.nix { inherit config pkgs lib; };
ssh.matchBlocks = {
"*" = {
extraOptions = {
"UseKeychain" = "yes";
};
};
};
} // import ../shared/home-manager.nix {
inherit config pkgs lib;
};
}; };
}; };
} }

42
flake.lock generated
View File

@ -61,11 +61,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1702203126, "lastModified": 1703026685,
"narHash": "sha256-4BhN2Vji19MzRC7SUfPZGmtZ2WZydQeUk/ogfRBIZMs=", "narHash": "sha256-AkualfMbc40HkDR2AZc6u71pcap50wDQOXFCY1ULDUA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "defbb9c5857e157703e8fc7cf3c2ceb01cb95883", "rev": "efc177c15f2a8bb063aeb250fe3c7c21e1de265e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -77,11 +77,11 @@
"homebrew-bundle": { "homebrew-bundle": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1700695605, "lastModified": 1702986543,
"narHash": "sha256-Y9OJ9/BbGcfslER0hVToFobom/0Y5ynpkdEpQdfNF7s=", "narHash": "sha256-Ybb5fpDXY3aCTtUyDGHRrmb0kwMiPeSr+oGJzt9Eji0=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-bundle", "repo": "homebrew-bundle",
"rev": "d6fbeee54ba344be59731ff3e93fb105b2567e34", "rev": "e4798d8075e1a793f065be3e5e1674ec09193d17",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -93,11 +93,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702255628, "lastModified": 1703053523,
"narHash": "sha256-Q46Mgw3oLVafoo2mRzDdR6IQ9hdCnfk59uaWoiaAnjE=", "narHash": "sha256-OKnyoBhc6rgtwNAtPZYizrUBSTb7eeWHhNz4k0oGFUQ=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "204e8eea0c0f3f1a26bf6f3f238595fdd3fc869c", "rev": "1cab02e1d861baafb36bfc0b19284a08251fbad1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -109,11 +109,11 @@
"homebrew-cask-fonts": { "homebrew-cask-fonts": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702265088, "lastModified": 1702947819,
"narHash": "sha256-pU63NGMzYZ/4m4JWu5HmxZCU9pKJoUK++W46awmGtdc=", "narHash": "sha256-kv2mTDARzk4oc+TPFGnmaXemkuH+8TuHT7CaDEFJtug=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask-fonts", "repo": "homebrew-cask-fonts",
"rev": "a7fb1a6146ccd9a8d164c4c7f529da56d56310e9", "rev": "6f04e418dc2bbb72fc438b25de315e0d48aff286",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -125,11 +125,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702252550, "lastModified": 1703048151,
"narHash": "sha256-QMPC/VNrE706F1sWXokP5k5npM7blXMLc8g8R0iqvHA=", "narHash": "sha256-+UmfjC3W1MRljd4WKBwKJGcfBa8enMfmz3oqq5Apb+0=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "fe91ea92d9b89f099209ab8252623c337ac13cd7", "rev": "c33912fa092823d7179a158793531082c846bf09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -195,11 +195,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1701718080, "lastModified": 1702312524,
"narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=", "narHash": "sha256-gkZJRDBUCpTPBvQk25G0B7vfbpEYM5s5OZqghkjZsnE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335", "rev": "a9bf124c46ef298113270b1f84a164865987a91c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -240,11 +240,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1702151865, "lastModified": 1702830618,
"narHash": "sha256-9VAt19t6yQa7pHZLDbil/QctAgVsA66DLnzdRGqDisg=", "narHash": "sha256-lvhwIvRwhOLgzbRuYkqHy4M5cQHYs4ktL6/hyuBS6II=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "666fc80e7b2afb570462423cb0e1cf1a3a34fedd", "rev": "91a00709aebb3602f172a0bf47ba1ef013e34835",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -19,6 +19,7 @@ in
enable = true; enable = true;
settings = { settings = {
git_protocol = "ssh"; git_protocol = "ssh";
version = 1;
}; };
}; };
@ -41,6 +42,7 @@ in
"__pycache__/" "__pycache__/"
".vscode" ".vscode"
".clangd/" ".clangd/"
".direnv/"
"compile_commands.json" "compile_commands.json"
"*.sublime-project" "*.sublime-project"
"*.sublime-workspace" "*.sublime-workspace"
@ -152,6 +154,21 @@ in
''; '';
}; };
sapling = {
enable = true;
userName = "Jip J. Dekker";
userEmail = "jip@dekker.one";
extraConfig = {
ui."ignore.userroot" = "~/.config/git/ignore";
isl = {
hasShownGettingStarted = false;
render-compact = false;
};
};
};
ssh.enable = true;
starship = { starship = {
enable = true; enable = true;
enableNushellIntegration = true; enableNushellIntegration = true;

View File

@ -7,9 +7,9 @@ with pkgs; [
mas mas
mdbook mdbook
pandoc pandoc
sapling
tectonic tectonic
texlab texlab
topgrade
typst typst
# Encryption and security tools # Encryption and security tools
@ -26,10 +26,12 @@ with pkgs; [
ninja ninja
# Python development tools # Python development tools
pipx
black black
poetry poetry
# Rust development tools
rustup
# MiniZinc solvers # MiniZinc solvers
gecode gecode
# or-tools # or-tools