From 95d55ce775ff89234fb9de36d61b3f006b5b3967 Mon Sep 17 00:00:00 2001 From: Aditya Date: Tue, 2 Apr 2024 09:34:39 +0530 Subject: [PATCH] update flake --- flake.lock | 59 ++++++++++++++++++++++++++++++++++++------------------ flake.nix | 18 +++++++++++------ 2 files changed, 52 insertions(+), 25 deletions(-) diff --git a/flake.lock b/flake.lock index b854e34..01a0632 100644 --- a/flake.lock +++ b/flake.lock @@ -249,11 +249,11 @@ ] }, "locked": { - "lastModified": 1711604890, - "narHash": "sha256-vbI/gxRTq/gHW1Q8z6D/7JG/qGNl3JTimUDX+MwnC3A=", + "lastModified": 1712016346, + "narHash": "sha256-O2nO7pD+krq+4HgkLB4VThRtAucIPfXDs/jJqCGlK1w=", "owner": "nix-community", "repo": "home-manager", - "rev": "3142bdcc470e1e291e1fbe942fd69e06bd00c5df", + "rev": "4be0464472675212654dedf3e021bd5f1d58b92f", "type": "github" }, "original": { @@ -271,11 +271,11 @@ ] }, "locked": { - "lastModified": 1711604890, - "narHash": "sha256-vbI/gxRTq/gHW1Q8z6D/7JG/qGNl3JTimUDX+MwnC3A=", + "lastModified": 1711625603, + "narHash": "sha256-W+9dfqA9bqUIBV5u7jaIARAzMe3kTq/Hp2SpSVXKRQw=", "owner": "nix-community", "repo": "home-manager", - "rev": "3142bdcc470e1e291e1fbe942fd69e06bd00c5df", + "rev": "c0ef0dab55611c676ad7539bf4e41b3ec6fa87d2", "type": "github" }, "original": { @@ -314,11 +314,11 @@ ] }, "locked": { - "lastModified": 1711591334, - "narHash": "sha256-9d5ilxxq4CXw44eFw8VFrRneAKex7D8xjn95mwZjgf4=", + "lastModified": 1711763326, + "narHash": "sha256-sXcesZWKXFlEQ8oyGHnfk4xc9f2Ip0X/+YZOq3sKviI=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "f0dd0838c3558b59dc3b726d8ab89f5b5e35c297", + "rev": "36524adc31566655f2f4d55ad6b875fb5c1a4083", "type": "github" }, "original": { @@ -351,11 +351,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1711523803, - "narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=", + "lastModified": 1711703276, + "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2726f127c15a4cc9810843b96cad73c7eb39e443", + "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", "type": "github" }, "original": { @@ -394,11 +394,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1711613989, - "narHash": "sha256-9RWXB9EWzErur3IYfTNSsBUZJ8MiYPjYaqpnxJPRWR0=", + "lastModified": 1712008765, + "narHash": "sha256-H6tO1c8uCvSIOeUrG7J57DIoajR+spSEhXu8md0RGtg=", "owner": "nix-community", "repo": "nixvim", - "rev": "d7667dd083fccc063de8e17dd5146e2ab3a35175", + "rev": "bd1794e89d705776dac393675c93f7ebb6f74e94", "type": "github" }, "original": { @@ -452,6 +452,26 @@ "type": "github" } }, + "nyaa": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1711806425, + "narHash": "sha256-ZEcFKE1QMvhNZUT/x2ymhw1aGh22LfaYnDaihgeNRhw=", + "owner": "akr2002", + "repo": "nyaa", + "rev": "4fb0f5b06339d25966d8d48a70de7410e3e91021", + "type": "github" + }, + "original": { + "owner": "akr2002", + "repo": "nyaa", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -467,11 +487,11 @@ ] }, "locked": { - "lastModified": 1711519547, - "narHash": "sha256-Q7YmSCUJmDl71fJv/zD9lrOCJ1/SE/okZ2DsrmRjzhY=", + "lastModified": 1711760932, + "narHash": "sha256-DqUTQ2iAAqSDwMhKBqvi24v0Oc7pD3LCK/0FCG//TdA=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "7d47a32e5cd1ea481fab33c516356ce27c8cef4a", + "rev": "c11e43aed6f17336c25cd120eac886b96c455731", "type": "github" }, "original": { @@ -515,7 +535,8 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixvim": "nixvim", - "nv": "nv" + "nv": "nv", + "nyaa": "nyaa" } }, "systems": { diff --git a/flake.nix b/flake.nix index 102dd51..3483e92 100644 --- a/flake.nix +++ b/flake.nix @@ -13,18 +13,24 @@ url = "github:akr2002/nv"; inputs.nixpkgs.follows = "nixpkgs"; }; + nyaa = { + url = "github:akr2002/nyaa"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, ... }@inputs: - let + outputs = { + self, + nixpkgs, + ... + } @ inputs: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - in - { + in { nixosConfigurations.bridge = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; - modules = [ - ./configuration.nix + modules = [ + ./configuration.nix inputs.home-manager.nixosModules.default ]; };