diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index 1f28d1b..b462a33 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ tmp/ /transcoder/transcode.log /.env video_transcoder.service +/.direnv/ diff --git a/flake.lock b/flake.lock index f340798..c65a4e9 100644 --- a/flake.lock +++ b/flake.lock @@ -10,8 +10,9 @@ "type": "github" }, "original": { - "id": "flake-utils", - "type": "indirect" + "owner": "numtide", + "repo": "flake-utils", + "type": "github" } }, "flake-utils_2": { @@ -36,16 +37,15 @@ "pypi-deps-db": "pypi-deps-db" }, "locked": { - "lastModified": 1654084003, - "narHash": "sha256-j/XrVVistvM+Ua+0tNFvO5z83isL+LBgmBi9XppxuKA=", + "lastModified": 1678343959, + "narHash": "sha256-LGFLMTf9gEPYzLuny3idKQOGiZFVhmjR2VGvio4chMI=", "owner": "DavHau", "repo": "mach-nix", - "rev": "7e14360bde07dcae32e5e24f366c83272f52923f", + "rev": "f60b9833469adb18e57b4c9e8fc4804fce82e3da", "type": "github" }, "original": { "id": "mach-nix", - "ref": "3.5.0", "type": "indirect" } }, @@ -66,16 +66,17 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1678298120, - "narHash": "sha256-iaV5xqgn29xy765Js3EoZePQyZIlLZA3pTYtTnKkejg=", + "lastModified": 1678519861, + "narHash": "sha256-jo1swATOxWxZU5gnuOEnazr5680o97xlkL6qAHv6Hew=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1e383aada51b416c6c27d4884d2e258df201bc11", + "rev": "20e0820a5ff2c3dc76114368a94c9a1c11bb6cdc", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" } }, "pypi-deps-db": { diff --git a/flake.nix b/flake.nix index 714360d..2cc8eb9 100644 --- a/flake.nix +++ b/flake.nix @@ -3,9 +3,9 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs"; inputs.flake-utils.url = "github:numtide/flake-utils"; - inputs.mach-nix.url = "github:mach-nix/3.5.0"; +# inputs.mach-nix.url = "github:mach-nix/3.5.0"; - outputs = { self, nixpkgs, flake-utils, mach-nix }: + outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let pkgs = nixpkgs.legacyPackages.${system}; in {