Skip to content

Commit

Permalink
feat(nix): updated nixos module
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Mar 18, 2024
1 parent 95a8efb commit e22b3bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
outputs = { self, nixpkgs, }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
filebot = pkgs.callPackage ./default.nix { };
go = pkgs.go;
filebot = pkgs.callPackage ./nix/default.nix { };
goSDK = pkgs.go;
in
{
packages.x86_64-linux.default = filebot;
nixosModules."filebot" = import ./service.nix;
nixosModules.default = import ./nix/service.nix;
devShells.x86_64-linux.default = pkgs.mkShell {
hardeningDisable = [ "all" ];
buildInputs = with pkgs; [
# Go tools
go
goSDK
golangci-lint

# Github actions
act
];

GOROOT = "${go}/share/go";
GOROOT = "${goSDK}/share/go";
};
};
}
File renamed without changes.
File renamed without changes.

0 comments on commit e22b3bc

Please sign in to comment.