From 63dd5e9c09123754fe92960859b09f2897769a50 Mon Sep 17 00:00:00 2001 From: poslop Date: Tue, 4 Nov 2025 15:07:42 -0600 Subject: [PATCH] added nvchad from nvchad4nix --- flake.lock | 73 +++++++++++++++++++++++++++++++++++++++ flake.nix | 5 +++ modules/core/packages.nix | 3 +- modules/home/packages.nix | 1 - 4 files changed, 80 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 28d2edf..26e2a75 100644 --- a/flake.lock +++ b/flake.lock @@ -82,6 +82,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "gitignore": { "inputs": { "nixpkgs": [ @@ -472,6 +490,28 @@ "type": "github" } }, + "nix4nvchad": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ], + "nvchad-starter": "nvchad-starter" + }, + "locked": { + "lastModified": 1759653262, + "narHash": "sha256-uTiQXY/ZlplEq1j2jH0k6oDzldid0xHgnLsLQyRRbvk=", + "owner": "nix-community", + "repo": "nix4nvchad", + "rev": "9d91858966b5d4e87ee52e16993988dfea9b0f94", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix4nvchad", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1745930157, @@ -535,6 +575,23 @@ "type": "github" } }, + "nvchad-starter": { + "flake": false, + "locked": { + "lastModified": 1753939018, + "narHash": "sha256-xdLr6tlU9uA+wu0pqha2br0fdVm+1MjgjbB5awz9ICU=", + "owner": "NvChad", + "repo": "starter", + "rev": "e3572e1f5e1c297212c3deeb17b7863139ce663e", + "type": "github" + }, + "original": { + "owner": "NvChad", + "ref": "main", + "repo": "starter", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -563,6 +620,7 @@ "hjem": "hjem", "hjem-rum": "hjem-rum", "hyprland": "hyprland", + "nix4nvchad": "nix4nvchad", "nixpkgs": "nixpkgs_2", "zen-browser": "zen-browser" } @@ -582,6 +640,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index bf0f932..9fc6f0a 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,11 @@ url = "github:0xc000022070/zen-browser-flake"; #inputs.nixpkgs.follows }; + + nix4nvchad = { + url = "github:nix-community/nix4nvchad"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/modules/core/packages.nix b/modules/core/packages.nix index ca2c53a..2c7d6c8 100644 --- a/modules/core/packages.nix +++ b/modules/core/packages.nix @@ -1,7 +1,8 @@ -{ pkgs, ... }: +{ pkgs, inputs, ... }: { environment.systemPackages = with pkgs; [ wl-clipboard + inputs.nix4nvchad.packages.${system}.nvchad kitty vim wget diff --git a/modules/home/packages.nix b/modules/home/packages.nix index 5e2920d..5e5da14 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -8,7 +8,6 @@ { hjem.users.${username}.packages = with pkgs; [ inputs.zen-browser.packages."${system}".default - neovim statix git zsh