Add compose2nix

This commit is contained in:
iFargle 2023-12-13 14:30:17 +09:00
parent ef65508f07
commit 1676fad5fe
2 changed files with 5 additions and 1 deletions

View file

@ -30,6 +30,9 @@
# deploy-rs, declarative NixOS deployments
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
# compose2nix - Convert docker-compose.yml files to nix syntax
compose2nix.url = "github:aksiksi/compose2nix";
compose2nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs:
let

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ inputs, pkgs, ... }: {
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 10485760;
"fs.inotify.max_user_instances" = 1024;
@ -16,6 +16,7 @@
environment.systemPackages = with pkgs; [
docker-compose
ctop
inputs.compose2nix.packages.x86_64-linux.default
];
networking.firewall.allowedUDPPorts = [