From b4701c595fb9a727854e776a08ad473486954aa6 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Thu, 7 May 2026 20:12:34 +0100 Subject: [PATCH] use self-hosted private packages --- flake.lock | 39 +++++++++++++++++++++------------------ flake.nix | 9 +++++---- hosts/graphical/pkgs.nix | 2 ++ 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index fe9b85e..3c5f997 100644 --- a/flake.lock +++ b/flake.lock @@ -103,23 +103,6 @@ }, "parent": [] }, - "fred": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776613974, - "narHash": "sha256-q6eKhs6IEwRmytxzGazY08TYp1JiPS4BgxfuNWzMcks=", - "path": "/home/liamm/nix-pkgs/fred", - "type": "path" - }, - "original": { - "path": "/home/liamm/nix-pkgs/fred", - "type": "path" - } - }, "gitignore": { "inputs": { "nixpkgs": [ @@ -596,6 +579,26 @@ "type": "github" } }, + "lmpkgs": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1778180954, + "narHash": "sha256-Iwcm0ZzIb13+633z7cP6dTjVlTas7Nvmpc54IUlo/uE=", + "ref": "refs/heads/master", + "rev": "0bfcbe5d5336eda05c1c79420772d3d1a3cf1de9", + "revCount": 3, + "type": "git", + "url": "ssh://git@ssh.git.ptrtoliam.dev:2222/liam/nix-pkgs.git" + }, + "original": { + "type": "git", + "url": "ssh://git@ssh.git.ptrtoliam.dev:2222/liam/nix-pkgs.git" + } + }, "nixpkgs": { "locked": { "lastModified": 1772433332, @@ -677,9 +680,9 @@ "inputs": { "dms": "dms", "focus-editor": "focus-editor", - "fred": "fred", "hyprland": "hyprland", "hyprpwcenter": "hyprpwcenter", + "lmpkgs": "lmpkgs", "nixpkgs": "nixpkgs_2", "quickshell": [ "dms", diff --git a/flake.nix b/flake.nix index e8f0b78..287122b 100644 --- a/flake.nix +++ b/flake.nix @@ -12,8 +12,8 @@ url = "path:./pkgs/focus"; inputs.nixpkgs.follows = "nixpkgs"; }; - fred = { - url = "path:/home/liamm/nix-pkgs/fred"; + lmpkgs = { + url = "git+ssh://git@ssh.git.ptrtoliam.dev:2222/liam/nix-pkgs.git"; inputs.nixpkgs.follows = "nixpkgs"; }; hyprland = { @@ -42,10 +42,11 @@ config.allowUnfree = true; overlays = [ (final: prev: { - fred = inputs.fred.packages.${system}.fred; + fred = inputs.lmpkgs.packages.${system}.fred; + ark = inputs.lmpkgs.packages.${system}.ark; + ark-cli = inputs.lmpkgs.packages.${system}.ark-cli; focus = inputs.focus-editor.packages.${system}.focus; hyprland = inputs.hyprland.packages.${system}.hyprland; - # hyprsysteminfo = inputs.hyprsysteminfo.packages.${system}.hyprsysteminfo; hyprpwcenter = inputs.hyprpwcenter.packages.${system}.hyprpwcenter; quickshell = inputs.quickshell.packages.${system}.quickshell; xdg-desktop-portal-hyprland = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; diff --git a/hosts/graphical/pkgs.nix b/hosts/graphical/pkgs.nix index 225bbce..e70c6ac 100644 --- a/hosts/graphical/pkgs.nix +++ b/hosts/graphical/pkgs.nix @@ -8,6 +8,8 @@ users.users.liamm.packages = with pkgs; [ adw-gtk3 arc-icon-theme + ark + ark-cli audacity bibata-cursors brave