This commit is contained in:
alsaiduq-lab 2025-07-01 10:28:48 -06:00
parent 3f4178ad0c
commit 29a465b2f8
4 changed files with 159 additions and 35 deletions

162
flake.lock generated
View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -18,6 +34,47 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"ghostty": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"zig": "zig",
"zon2nix": "zon2nix"
},
"locked": {
"lastModified": 1751249038,
"narHash": "sha256-HNzb8n+qfek8/iX9gHdaDhzKKYkqBaK5FH0IT6MkaOo=",
"owner": "ghostty-org",
"repo": "ghostty",
"rev": "20c6a6fcf2a1dc72d6a60ad2f6e58cba14e4fb2f",
"type": "github"
},
"original": {
"owner": "ghostty-org",
"repo": "ghostty",
"rev": "20c6a6fcf2a1dc72d6a60ad2f6e58cba14e4fb2f",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -78,18 +135,15 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1751211869, "lastModified": 1748189127,
"narHash": "sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y=", "narHash": "sha256-zRDR+EbbeObu4V2X5QCd2Bk5eltfDlCr5yvhBwUT6pY=",
"owner": "NixOS", "rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334",
"repo": "nixpkgs", "type": "tarball",
"rev": "b43c397f6c213918d6cfe6e3550abfe79b5d1c51", "url": "https://releases.nixos.org/nixos/25.05/nixos-25.05.802491.7c43f080a7f2/nixexprs.tar.xz"
"type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "type": "tarball",
"ref": "nixos-25.05", "url": "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
@ -107,12 +161,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1751211869,
"narHash": "sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b43c397f6c213918d6cfe6e3550abfe79b5d1c51",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"ghostty": "ghostty",
"home-manager": "home-manager", "home-manager": "home-manager",
"i3-dotfiles": "i3-dotfiles", "i3-dotfiles": "i3-dotfiles",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"rpcs3_latest": "rpcs3_latest", "rpcs3_latest": "rpcs3_latest",
"unstable": "unstable" "unstable": "unstable"
} }
@ -133,6 +204,21 @@
"type": "github" "type": "github"
} }
}, },
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1751285371, "lastModified": 1751285371,
@ -148,6 +234,60 @@
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
},
"zig": {
"inputs": {
"flake-compat": [
"ghostty"
],
"flake-utils": [
"ghostty",
"flake-utils"
],
"nixpkgs": [
"ghostty",
"nixpkgs"
]
},
"locked": {
"lastModified": 1748261582,
"narHash": "sha256-3i0IL3s18hdDlbsf0/E+5kyPRkZwGPbSFngq5eToiAA=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "aafb1b093fb838f7a02613b719e85ec912914221",
"type": "github"
},
"original": {
"owner": "mitchellh",
"repo": "zig-overlay",
"type": "github"
}
},
"zon2nix": {
"inputs": {
"flake-utils": [
"ghostty",
"flake-utils"
],
"nixpkgs": [
"ghostty",
"nixpkgs"
]
},
"locked": {
"lastModified": 1742104771,
"narHash": "sha256-LhidlyEA9MP8jGe1rEnyjGFCzLLgCdDpYeWggibayr0=",
"owner": "jcollie",
"repo": "zon2nix",
"rev": "56c159be489cc6c0e73c3930bd908ddc6fe89613",
"type": "github"
},
"original": {
"owner": "jcollie",
"ref": "56c159be489cc6c0e73c3930bd908ddc6fe89613",
"repo": "zon2nix",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -27,6 +27,10 @@
url = "git+ssh://git@github.com/alsaiduq-lab/i3-dotfiles"; url = "git+ssh://git@github.com/alsaiduq-lab/i3-dotfiles";
flake = false; flake = false;
}; };
# see: https://github.com/ghostty-org/ghostty/commit/20c6a6fcf2a1dc72d6a60ad2f6e58cba14e4fb2f
ghostty = {
url = "github:ghostty-org/ghostty/20c6a6fcf2a1dc72d6a60ad2f6e58cba14e4fb2f";
};
}; };
outputs = { outputs = {
@ -67,10 +71,12 @@
hostPlatform = system; hostPlatform = system;
overlays = [ overlays = [
(final: prev: {ollama = unstablePkgs.ollama;}) (final: prev: {ollama = unstablePkgs.ollama;})
(final: prev: {
ghostty = inputs.ghostty.packages.${system}.default;
})
(final: prev: { (final: prev: {
inherit inherit
(customPkgs) (customPkgs)
fish-rust
pugixml pugixml
SDL3 SDL3
rpcs3_latest rpcs3_latest

View file

@ -1,32 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
ghostty
fastfetch fastfetch
]; ];
programs.ghostty = { programs.ghostty = {
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;
settings = {
command = "${pkgs.fish}/bin/fish --login --interactive";
font-family = "0xProto Nerd Font";
font-size = 12;
theme = "tokyonight-storm";
window-padding-x = 10;
window-padding-y = 10;
cursor-color = "#7AA2F7";
cursor-style = "block";
cursor-style-blink = true;
window-decoration = "none";
window-theme = "dark";
selection-background = "#364A82";
selection-foreground = "#C0CAF5";
keybind = [
"super+t=new_tab"
"super+w=close_surface"
];
};
}; };
} }

View file

@ -37,7 +37,7 @@
src = pkgs.fetchgit { src = pkgs.fetchgit {
url = "https://github.com/RPCS3/rpcs3.git"; url = "https://github.com/RPCS3/rpcs3.git";
rev = rpcs3_latest.rev; rev = rpcs3_latest.rev;
sha256 = "sha256-B73c2lG7FLZjrJvbNzEcZeQN7TWFyqrKjF+ajiGkpA4="; sha256 = "sha256-L5zePjwSvAIsZhYfJgO3FKdafSRPAXPPgZTjFm7ZuOo=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
patches = []; patches = [];