From cdda8b0ac283e2ded2e8c330e85bcc93003177bc Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 27 Mar 2022 09:16:13 -0700 Subject: nas: install music-organizer --- flake.nix | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 2e58b89..4dbdc8f 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,13 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + mytools = { + url = + "git+https://git.fcuny.net/fcuny/tools.git?ref=fcuny/nix&rev=3ea9c82d551b6f1bf415ced29f572a6372f097d8"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-utils.follows = "utils"; + }; + nur.url = "github:nix-community/NUR"; home-manager = { @@ -28,8 +35,7 @@ # Output config, or config for NixOS system outputs = { ... }@inputs: - let - lib = import ./lib { inherit inputs; }; + let lib = import ./lib { inherit inputs; }; in { nixosConfigurations = { carmel = lib.mkSystem { @@ -69,12 +75,17 @@ let pkgs = import inputs.nixpkgs { inherit system; }; home-manager = inputs.home-manager.defaultPackage."${system}"; - in - { + in { packages = pkgs // { inherit home-manager; }; devShell = pkgs.mkShell { - buildInputs = with pkgs; [ nixUnstable nixfmt rnix-lsp home-manager git ]; + buildInputs = with pkgs; [ + nixUnstable + nixfmt + rnix-lsp + home-manager + git + ]; }; }); } -- cgit 1.4.1