From fb712795eacaa92c823e8b954c8d5878049243c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 7 Mar 2024 04:00:22 +0100 Subject: [PATCH] Add notlistener --- flake.lock | 38 +++++++++++++++++++++++++++++++++++++- flake.nix | 5 +++-- home/packages/default.nix | 3 +++ 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index ab48357..8404bf9 100644 --- a/flake.lock +++ b/flake.lock @@ -70,6 +70,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1709479366, + "narHash": "sha256-n6F0n8UV6lnTZbYPl1A9q1BS0p4hduAv1mGAP17CVd0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "b8697e57f10292a6165a20f03d2f42920dfaf973", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1709356872, "narHash": "sha256-mvxCirJbtkP0cZ6ABdwcgTk0u3bgLoIoEFIoYBvD6+4=", @@ -85,17 +101,37 @@ "type": "github" } }, + "notlistener": { + "inputs": { + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1709780344, + "narHash": "sha256-ZwM8Buys5t9WS1sooMsGgMnR1vRsTmazCrCu5UL24dQ=", + "ref": "master", + "rev": "129eea14a4e43de1c21510134cdd0fa84fce5b80", + "revCount": 6, + "type": "git", + "url": "https://git.t-juice.club/torjus/notlistener" + }, + "original": { + "ref": "master", + "type": "git", + "url": "https://git.t-juice.club/torjus/notlistener" + } + }, "root": { "inputs": { "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", + "notlistener": "notlistener", "sops-nix": "sops-nix" } }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "nixpkgs-stable": "nixpkgs-stable" }, "locked": { diff --git a/flake.nix b/flake.nix index cd9b020..8e8fd04 100644 --- a/flake.nix +++ b/flake.nix @@ -10,9 +10,10 @@ inputs.nixpkgs.follows = "nixpkgs"; }; sops-nix.url = "github:Mic92/sops-nix"; + notlistener.url = "git+https://git.t-juice.club/torjus/notlistener?ref=master"; }; - outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, ... }@inputs: + outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, notlistener, ... }@inputs: let system = "x86_64-linux"; user = "torjus"; @@ -39,7 +40,7 @@ inherit system; specialArgs = { inherit inputs self user sops-nix; }; modules = [ - ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) + ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable notlistener.overlays.default ]; }) ./hosts/gunter sops-nix.nixosModules.sops ]; diff --git a/home/packages/default.nix b/home/packages/default.nix index 1abfbc5..e0babfc 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -65,5 +65,8 @@ # Rust rustup + + # Homemade shit + notlistener ]; }