Files
dotfiles/flake.nix
Kyren223 f587810d85 Fixed ghostty download issue, also if github wasn't SSHed into, it will
fail and infinitely run, so `ssh github.com` first and add the
fingerprint
2024-12-06 18:27:57 +02:00

32 lines
750 B
Nix

{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
ghostty = {
url = "git+ssh://git@github.com/ghostty-org/ghostty";
# NOTE: use cache, only needed if nixpkgs.url is unstable
inputs.nixpkgs-stable.follows = "nixpkgs";
inputs.nixpkgs-unstable.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
laptop-nixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/laptop-nixos/configuration.nix
];
};
};
};
}