1
0
Fork 0

add uv and ventoy

This commit is contained in:
cătălin 2025-01-05 21:24:47 +01:00
commit 6a3d3201c1
No known key found for this signature in database
6 changed files with 183 additions and 11 deletions

View file

@ -3,6 +3,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
ghostty = {
url = "github:ghostty-org/ghostty";
};
nix-snapd.url = "github:nix-community/nix-snapd";
nix-snapd.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {
@ -11,13 +15,25 @@
};
};
outputs = { self, nixpkgs, nix-snapd, home-manager, ... }@inputs: {
outputs = { self, nixpkgs, unstable, ghostty, nix-snapd, home-manager, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs-unstable = unstable.legacyPackages.${system};
in
{
nixosConfigurations.limgrave = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
specialArgs = { inherit pkgs-unstable; };
modules = [
./configuration.nix
nix-snapd.nixosModules.default
home-manager.nixosModules.home-manager
{
environment.systemPackages = [
ghostty.packages.x86_64-linux.default
];
}
];
};
};