flake update and add ghostty

This commit is contained in:
Salar Rahmanian 2025-08-30 11:02:20 -07:00
parent 2dba5a2de1
commit 4616344162
5 changed files with 43 additions and 14 deletions

24
flake.lock generated
View file

@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1755914636, "lastModified": 1756496801,
"narHash": "sha256-VJ+Gm6YsHlPfUCpmRQxvdiZW7H3YPSrdVOewQHAhZN8=", "narHash": "sha256-IYIsnPy+cJxe8RbDHBrCtfJY0ry2bG2H7WvMcewiGS8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8b55a6ac58b678199e5bba701aaff69e2b3281c0", "rev": "77a71380c38fb2a440b4b5881bbc839f6230e1cb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -63,11 +63,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1755829505, "lastModified": 1756438964,
"narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=", "narHash": "sha256-yo473URkISSmBZeIE1o6Mf94VRSn5qFVFS9phb7l6eg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f937f8ecd1c70efd7e9f90ba13dfb400cf559de4", "rev": "c73522789a3c7552b1122773d6eaa34e1491cc1c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -79,11 +79,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1755615617, "lastModified": 1756386758,
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=", "narHash": "sha256-1wxxznpW2CKvI9VdniaUnTT2Os6rdRJcRUf65ZK9OtE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "20075955deac2583bb12f07151c2df830ef346b4", "rev": "dfb2f12e899db4876308eba6d93455ab7da304cd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -99,11 +99,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1755963829, "lastModified": 1756568538,
"narHash": "sha256-2tON0rztjaw0oS8bxrJ/FOgfU9HHYmEK//kkHwl6UIs=", "narHash": "sha256-nnFpWhG/jtRzI2yJKKgokhefFELHTUw9fgqcTrdX6aM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "b820a5b8019264f623f3ed36f2153df997020647", "rev": "e8f97acd1ededca7944f1fe1b659b61003131ce2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -78,11 +78,12 @@
in in
{ {
darwinConfigurations.salarm3max = nix-darwin.lib.darwinSystem { darwinConfigurations.salarm3max = nix-darwin.lib.darwinSystem {
system = "aarc64-darwin"; system = "aarch64-darwin";
modules = [ modules = [
m3maxConfiguration m3maxConfiguration
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager.backupFileExtension = "backup";
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.salar = homeManagerConfFor ./home.nix; home-manager.users.salar = homeManagerConfFor ./home.nix;
} }

View file

@ -62,7 +62,6 @@
metals metals
multimarkdown multimarkdown
mypy mypy
neofetch
neovim neovim
nerd-fonts.fira-code nerd-fonts.fira-code
nil nil

View file

@ -2,6 +2,7 @@
./aider ./aider
./broot ./broot
./fish ./fish
./ghostty
./git ./git
./jujutsu ./jujutsu
./kitty ./kitty

View file

@ -0,0 +1,28 @@
{ pkgs, ... }:
let
my_settings = {
auto-update = "off";
copy-on-select = "clipboard";
font-family = "SF Mono";
font-size = 16;
macos-titlebar-style = "transparent";
mouse-hide-while-typing = true;
split-divider-color = "orange";
theme = "Builtin Tango Dark";
window-inherit-working-directory = true;
window-save-state = "always";
working-directory = "home";
keybind = [
"shift+enter=text:\n"
];
};
in
{
programs.ghostty = {
enable = true;
enableFishIntegration = true;
installVimSyntax = true;
package = pkgs.ghostty-bin;
settings = my_settings;
};
}