diff --git a/flake.lock b/flake.lock index b777529..31de05d 100644 --- a/flake.lock +++ b/flake.lock @@ -279,6 +279,27 @@ "type": "github" } }, + "nix-npm-buildpackage_2": { + "inputs": { + "nixpkgs": [ + "timesync", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1677562139, + "narHash": "sha256-J39FdMjECbWGSXVHmEdyGBD2aRYGhg9bWEPf1/ZR47k=", + "owner": "serokell", + "repo": "nix-npm-buildpackage", + "rev": "d45296118cae672982f192451dd3e19fa6c2d068", + "type": "github" + }, + "original": { + "owner": "serokell", + "repo": "nix-npm-buildpackage", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1680876084, @@ -446,7 +467,8 @@ "nixpkgs": "nixpkgs", "nixpkgs-mozilla": "nixpkgs-mozilla", "nixpkgs-stable": "nixpkgs-stable", - "nixpkgs-wayland": "nixpkgs-wayland" + "nixpkgs-wayland": "nixpkgs-wayland", + "timesync": "timesync" } }, "systems": { @@ -479,6 +501,27 @@ "type": "github" } }, + "timesync": { + "inputs": { + "nix-npm-buildpackage": "nix-npm-buildpackage_2", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1682943688, + "narHash": "sha256-EMaETLOXkLBGWDBUhOVpfOph+cB4hmApLJmiuy2GCHY=", + "owner": "datakami", + "repo": "timesync", + "rev": "50f9d5148992bce9adc9c78828cd706ca02be2a6", + "type": "github" + }, + "original": { + "owner": "datakami", + "repo": "timesync", + "type": "github" + } + }, "utils": { "locked": { "lastModified": 1605370193, diff --git a/flake.nix b/flake.nix index d462d00..d70cfbd 100644 --- a/flake.nix +++ b/flake.nix @@ -16,10 +16,14 @@ nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; nix-npm-buildpackage.url = "github:serokell/nix-npm-buildpackage"; nix-npm-buildpackage.inputs.nixpkgs.follows = "nixpkgs"; + timesync = { + url = "github:datakami/timesync"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs@{ nixpkgs, home-manager, nixpkgs-mozilla, emacs-overlay , nixpkgs-wayland, nixpkgs-stable, nixos-hardware, agenix, flake-utils - , nix-index-database, nix-npm-buildpackage + , nix-index-database, nix-npm-buildpackage, timesync , self , ... }: (flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: diff --git a/home-manager/home.nix b/home-manager/home.nix index 8f89f52..791dba1 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -286,6 +286,9 @@ in { # wine # winetricks + # work + timesync + ]); home.file.".gnupg/gpg.conf".text = '' diff --git a/pkgs/default.nix b/pkgs/default.nix index e500cc6..e1d6a25 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -44,5 +44,6 @@ }; }; xwaylandvideobridge = self.callPackage ./xwaylandvideobridge.nix {}; + timesync = self.flake-inputs.timesync.packages.${self.system}.default; })