From 972baf18adca0a428626f64fe4e9f7b275def913 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 5 Sep 2023 15:58:13 -0500 Subject: [PATCH] Integrate rtx --- daniel.nix | 3 -- fish/shellInit.fish | 3 ++ flake.lock | 86 +++++++++++++++++++++++++++++++++++++-------- 3 files changed, 74 insertions(+), 18 deletions(-) diff --git a/daniel.nix b/daniel.nix index 263ef91..b52563f 100644 --- a/daniel.nix +++ b/daniel.nix @@ -6,9 +6,6 @@ # }; # }; - # TODO: copy all by binaries/scripts from dotfiles into ~/.local/bin or - # something? - home.username = "daniel"; home.homeDirectory = lib.mkDefault "/home/daniel/.home"; home.stateVersion = "23.05"; diff --git a/fish/shellInit.fish b/fish/shellInit.fish index b43fffd..7642c5f 100644 --- a/fish/shellInit.fish +++ b/fish/shellInit.fish @@ -83,3 +83,6 @@ function has_command --wraps=command --description "Exits non-zero if the given command --quiet --search $argv[1] end +if has_command rtx + rtx activate fish | source +end \ No newline at end of file diff --git a/flake.lock b/flake.lock index aa39f57..927eff1 100644 --- a/flake.lock +++ b/flake.lock @@ -51,9 +51,7 @@ }, "disko": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1692199161, @@ -141,9 +139,7 @@ "inputs": { "crane": "crane", "flake-utils": "flake-utils_2", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": "nixpkgs_3", "rust-overlay": "rust-overlay" }, "locked": { @@ -162,9 +158,7 @@ }, "home-manager": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1693208669, @@ -214,6 +208,54 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1693844670, + "narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3c15feef7770eb5500a4b8792623e2d6f598c9c1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1693663421, + "narHash": "sha256-ImMIlWE/idjcZAfxKK8sQA7A1Gi/O58u5/CJA+mxvl8=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "e56990880811a451abd32515698c712788be5720", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1693771906, + "narHash": "sha256-32EnPCaVjOiEERZ+o/2Ir7JH9pkfwJZJ27SKHNvt4yk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "da5adce0ffaff10f6d0fee72a02a5ed9d01b52fc", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-23.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1692794066, "narHash": "sha256-H0aG8r16dj0x/Wz6wQhQxc9V7AsObOiHPaKxQgH6Y08=", @@ -229,7 +271,23 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_6": { + "locked": { + "lastModified": 1693844670, + "narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3c15feef7770eb5500a4b8792623e2d6f598c9c1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { "locked": { "lastModified": 1693844670, "narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=", @@ -251,7 +309,7 @@ "disko": "disko", "helix": "helix", "home-manager": "home-manager", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_5", "rtx": "rtx", "sops-nix": "sops-nix" } @@ -259,7 +317,7 @@ "rtx": { "inputs": { "flake-utils": "flake-utils_3", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1693923183, @@ -302,9 +360,7 @@ }, "sops-nix": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": "nixpkgs_7", "nixpkgs-stable": "nixpkgs-stable" }, "locked": {