From 096f91d95a0f1b2ebf17a8728e4feb062bf2ba26 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Wed, 5 Jun 2024 00:40:35 -0300 Subject: [PATCH] feat: rec-sh --- flake.lock | 40 ++++++++++++++++++++++++++++++++--- flake.nix | 2 +- hosts/battleship/packages.nix | 6 +++++- 3 files changed, 43 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 371dc2d..9c057a6 100644 --- a/flake.lock +++ b/flake.lock @@ -439,6 +439,22 @@ "type": "github" } }, + "nixpkgs_4": { + "locked": { + "lastModified": 1716769173, + "narHash": "sha256-7EXDb5WBw+d004Agt+JHC/Oyh/KTUglOaQ4MNjBbo5w=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "9ca3f649614213b2aaf5f1e16ec06952fe4c2632", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_4": { "locked": { "lastModified": 1712963716, @@ -455,6 +471,24 @@ "type": "github" } }, + "rec-sh": { + "inputs": { + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1717124269, + "narHash": "sha256-CboDW1jTZST8WwjUrrh/d+AiQ9Cz7MyDGuP4aUP4Ghw=", + "ref": "refs/heads/main", + "rev": "437b7475d283b76da1625e53648f6f2ed3b82378", + "revCount": 13, + "type": "git", + "url": "file:///home/guz/.projects/dot013/rec.sh" + }, + "original": { + "type": "git", + "url": "file:///home/guz/.projects/dot013/rec.sh" + } + }, "root": { "inputs": { "firefox-addons": "firefox-addons", @@ -463,8 +497,8 @@ "hyprland": "hyprland", "nix-colors": "nix-colors", "nix-index-database": "nix-index-database", - "nix-minecraft": "nix-minecraft", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_2", + "rec-sh": "rec-sh", "sops-nix": "sops-nix", "tmux-plugin-manager": "tmux-plugin-manager", "xdg-desktop-portal-hyprland": "xdg-desktop-portal-hyprland" @@ -572,7 +606,7 @@ "hyprland-protocols": "hyprland-protocols_2", "hyprlang": "hyprlang_2", "nixpkgs": "nixpkgs_4", - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1716290197, diff --git a/flake.nix b/flake.nix index a02a037..30c6045 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,7 @@ flake = false; }; - nix-minecraft.url = "github:Infinidoge/nix-minecraft"; + rec-sh.url = "git+file:///home/guz/.projects/dot013/rec.sh"; # hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; # Temp version pin because of issue https://github.com/hyprwm/Hyprland/issues/6132 diff --git a/hosts/battleship/packages.nix b/hosts/battleship/packages.nix index 55bea28..916425c 100644 --- a/hosts/battleship/packages.nix +++ b/hosts/battleship/packages.nix @@ -5,7 +5,11 @@ lib, ... }: { - imports = []; + imports = [ + inputs.rec-sh.homeManagerModules.rec-sh + ]; + + programs.rec-sh.enable = true; programs.brave.enable = true; programs.brave.extensions = [