Skip to content

Commit

Permalink
Add ghostty?
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesplain committed Dec 19, 2024
1 parent 5d31593 commit 67df8b9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion nixos-config/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
url = "github:homebrew/homebrew-cask";
flake = false;
};
ghostty = {
url = "git+ssh://[email protected]/ghostty-org/ghostty";

# NOTE: The below 2 lines are only required on nixos-unstable,
# if you're on stable, they may break your build
inputs.nixpkgs-stable.follows = "nixpkgs";
inputs.nixpkgs-unstable.follows = "nixpkgs";
};

# homebrew-sk8s = {
# url = "git+file:///Users/mike.splain/developer/homebrew-pdsw-devops";
# flake = false;
Expand All @@ -55,6 +64,7 @@
home-manager,
nur,
pwnvim,
ghostty,
...
}: let
mkUser = username: {
Expand All @@ -80,6 +90,7 @@
environment.systemPackages = with nixpkgs; [
zoxide
inputs.pwnvim.packages."${final.system}".default
ghostty.packages."${final.system}".default
];

system = {
Expand All @@ -100,7 +111,7 @@
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
extraSpecialArgs = {inherit inputs pwnvim; user = mkUser username;};
extraSpecialArgs = {inherit inputs pwnvim ghostty; user = mkUser username;};
users.${username} = {imports = [./home];};
};
modules =
Expand Down

0 comments on commit 67df8b9

Please sign in to comment.