diff --git a/flake.lock b/flake.lock index 791505f..f8e9c39 100644 --- a/flake.lock +++ b/flake.lock @@ -123,6 +123,27 @@ } }, "flake-parts_2": { + "inputs": { + "nixpkgs-lib": [ + "hermes-agent", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1790898470, + "narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "024633cd702b10285db5cb19b40ad48d2399ba60", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -178,6 +199,34 @@ "type": "gitlab" } }, + "hermes-agent": { + "inputs": { + "flake-parts": "flake-parts_2", + "home-manager": [ + "home-manager" + ], + "nixpkgs": [ + "nixpkgs" + ], + "npm-lockfile-fix": "npm-lockfile-fix", + "pyproject-build-systems": "pyproject-build-systems", + "pyproject-nix": "pyproject-nix", + "uv2nix": "uv2nix" + }, + "locked": { + "lastModified": 1792874130, + "narHash": "sha256-q+GuDKV3sve6ZIBTQ370+P/H70YxKANDjAG/Fb3+Bsw=", + "owner": "NousResearch", + "repo": "hermes-agent", + "rev": "1c0cd667746d3395fe9e1b6c74f8f85952486f18", + "type": "github" + }, + "original": { + "owner": "NousResearch", + "repo": "hermes-agent", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -359,6 +408,27 @@ "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst" } }, + "npm-lockfile-fix": { + "inputs": { + "nixpkgs": [ + "hermes-agent", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1775903712, + "narHash": "sha256-2GV79U6iVH4gKAPWYrxUReB0S41ty/Y3dBLquU8AlaA=", + "owner": "jeslie0", + "repo": "npm-lockfile-fix", + "rev": "c6093acb0c0548e0f9b8b3d82918823721930fe8", + "type": "github" + }, + "original": { + "owner": "jeslie0", + "repo": "npm-lockfile-fix", + "type": "github" + } + }, "nur": { "inputs": { "flake-parts": [ @@ -384,10 +454,61 @@ "type": "github" } }, + "pyproject-build-systems": { + "inputs": { + "nixpkgs": [ + "hermes-agent", + "nixpkgs" + ], + "pyproject-nix": [ + "hermes-agent", + "pyproject-nix" + ], + "uv2nix": [ + "hermes-agent", + "uv2nix" + ] + }, + "locked": { + "lastModified": 1792499785, + "narHash": "sha256-mGOkvueuMGSRiD75ccxFzfEvSlIU9ztjFluHMKOtogY=", + "owner": "pyproject-nix", + "repo": "build-system-pkgs", + "rev": "a17819c85163988e063806ffc4f6d2716bc8ead8", + "type": "github" + }, + "original": { + "owner": "pyproject-nix", + "repo": "build-system-pkgs", + "type": "github" + } + }, + "pyproject-nix": { + "inputs": { + "nixpkgs": [ + "hermes-agent", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1791657700, + "narHash": "sha256-vcCAvhtA7hG+/gOge29hYHy7I/dLkIsr5nLx4sFEQic=", + "owner": "pyproject-nix", + "repo": "pyproject.nix", + "rev": "ddc400a6883b042646d0940e65971bb7f7e96107", + "type": "github" + }, + "original": { + "owner": "pyproject-nix", + "repo": "pyproject.nix", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", "flake-parts": "flake-parts", + "hermes-agent": "hermes-agent", "home-manager": "home-manager", "import-tree": "import-tree", "nix-easyroam": "nix-easyroam", @@ -425,7 +546,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_3", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs" @@ -566,6 +687,31 @@ "repo": "treefmt-nix", "type": "github" } + }, + "uv2nix": { + "inputs": { + "nixpkgs": [ + "hermes-agent", + "nixpkgs" + ], + "pyproject-nix": [ + "hermes-agent", + "pyproject-nix" + ] + }, + "locked": { + "lastModified": 1792666911, + "narHash": "sha256-UWo7wDPi00YXOI1Io7g4vGKuCSPJ863kHJVDzsgqtoM=", + "owner": "pyproject-nix", + "repo": "uv2nix", + "rev": "0fdaa03ea3c3c16dbb1fe4d69108f07227a4b42d", + "type": "github" + }, + "original": { + "owner": "pyproject-nix", + "repo": "uv2nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 71d80a7..b743e19 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,11 @@ url = "github:Gerg-L/spicetify-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + hermes-agent = { + url = "github:NousResearch/hermes-agent"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.home-manager.follows = "home-manager"; + }; }; outputs = inputs: diff --git a/modules/home/programs/hermes.nix b/modules/home/programs/hermes.nix new file mode 100644 index 0000000..208b36d --- /dev/null +++ b/modules/home/programs/hermes.nix @@ -0,0 +1,9 @@ +{ inputs, ... }: { + flake.homeModules.hermes = { + imports = [ inputs.hermes-agent.homeManagerModules.default ]; + programs.hermes-agent = { + enable = true; + desktop.enable = true; + }; + }; +} diff --git a/modules/system/core/packages.nix b/modules/system/core/packages.nix index 7399632..09330b3 100644 --- a/modules/system/core/packages.nix +++ b/modules/system/core/packages.nix @@ -30,6 +30,7 @@ ]; fonts.packages = with pkgs; [ inter + noto-fonts ]; }; } diff --git a/modules/system/core/user.nix b/modules/system/core/user.nix index 7c94917..fc9dd54 100644 --- a/modules/system/core/user.nix +++ b/modules/system/core/user.nix @@ -24,6 +24,7 @@ btop nixcord ghostty + hermes niri emacs git diff --git a/modules/system/stylix/default.nix b/modules/system/stylix/default.nix index 8f195e6..c066807 100644 --- a/modules/system/stylix/default.nix +++ b/modules/system/stylix/default.nix @@ -5,7 +5,7 @@ ]; stylix = { enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; cursor = { name = "macOS"; package = pkgs.apple-cursor;