1
0
Fork 0

add flake

This commit is contained in:
cătălin 2024-12-29 15:02:11 +01:00
commit 90d6a12a77
No known key found for this signature in database
5 changed files with 169 additions and 3 deletions

24
nix/flake.nix Normal file
View file

@ -0,0 +1,24 @@
{
description = "NixOS flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
ghostty = {
url = "github:ghostty-org/ghostty";
};
};
outputs = { self, nixpkgs, ghostty, ... }@inputs: {
nixosConfigurations.limgrave = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
{
environment.systemPackages = [
ghostty.packages.x86_64-linux.default
];
}
];
};
};
}