My Nix Configuration

[flake] add ghostty input and remove tangled.sh nixpkgs override

pyrox.dev 92053af4 35fb01b2

verified
Changed files
+116 -6
modules
home
programs
ghostty
+101 -3
flake.lock
···
"type": "github"
}
},
+
"ghostty": {
+
"inputs": {
+
"flake-compat": [
+
"flake-compat"
+
],
+
"flake-utils": [
+
"flake-utils"
+
],
+
"nixpkgs": [
+
"nixpkgs"
+
],
+
"zig": "zig",
+
"zon2nix": "zon2nix"
+
},
+
"locked": {
+
"lastModified": 1754485743,
+
"narHash": "sha256-G2WxnSI1G+fwvgQ43PDda53uvUGEOEis6MjNBPW5XUc=",
+
"owner": "ghostty-org",
+
"repo": "ghostty",
+
"rev": "1d042f1e71f1533f92831c50610efa7a1fc1856e",
+
"type": "github"
+
},
+
"original": {
+
"owner": "ghostty-org",
+
"repo": "ghostty",
+
"type": "github"
+
}
+
},
"git-hooks": {
"inputs": {
"flake-compat": [
···
"url": "https://nixpkgs.dev/channel/nixpkgs-unstable"
}
},
+
"nixpkgs_3": {
+
"locked": {
+
"lastModified": 1751984180,
+
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
+
"owner": "nixos",
+
"repo": "nixpkgs",
+
"rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nixos",
+
"ref": "nixos-unstable",
+
"repo": "nixpkgs",
+
"type": "github"
+
}
+
},
"root": {
"inputs": {
"agenix": "agenix",
···
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"flake-utils": "flake-utils",
+
"ghostty": "ghostty",
"golink": "golink",
"hardware": "hardware",
"home-manager": "home-manager",
···
"indigo": "indigo",
"inter-fonts-src": "inter-fonts-src",
"lucide-src": "lucide-src",
-
"nixpkgs": [
-
"nixpkgs"
-
],
+
"nixpkgs": "nixpkgs_3",
"sqlite-lib-src": "sqlite-lib-src"
},
"locked": {
···
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
+
"type": "github"
+
}
+
},
+
"zig": {
+
"inputs": {
+
"flake-compat": [
+
"ghostty",
+
"flake-compat"
+
],
+
"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",
+
"repo": "zon2nix",
+
"rev": "56c159be489cc6c0e73c3930bd908ddc6fe89613",
"type": "github"
}
}
+7 -2
flake.nix
···
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+
ghostty = {
+
url = "github:ghostty-org/ghostty";
+
inputs.nixpkgs.follows = "nixpkgs";
+
inputs.flake-utils.follows = "flake-utils";
+
inputs.flake-compat.follows = "flake-compat";
+
};
golink = {
url = "github:tailscale/golink";
inputs.systems.follows = "systems";
···
};
tangled-sh = {
url = "git+https://tangled.sh/@tangled.sh/core";
-
inputs.nixpkgs.follows = "nixpkgs";
};
};
···
self.overlays.pyronet-packages
self.overlays.nix-index
self.overlays.openssh-fixperms
-
# self.overlays.linux-firmware
inputs.golink.overlays.default
];
in
+8 -1
modules/home/programs/ghostty/default.nix
···
-
{ lib, config, ... }:
+
{
+
lib,
+
config,
+
inputs,
+
pkgs,
+
...
+
}:
let
cfg = config.py.programs.ghostty;
in
···
config.catppuccin.ghostty.enable = cfg.enable;
config.programs.ghostty = lib.mkIf cfg.enable {
enable = true;
+
package = inputs.ghostty.packages.${pkgs.stdenv.hostPlatform.system}.default;
enableFishIntegration = true;
installBatSyntax = true;
enableBashIntegration = true;