Add compose2nix
This commit is contained in:
parent
ef65508f07
commit
1676fad5fe
2 changed files with 5 additions and 1 deletions
|
@ -30,6 +30,9 @@
|
||||||
# deploy-rs, declarative NixOS deployments
|
# deploy-rs, declarative NixOS deployments
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
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:
|
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs:
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"fs.inotify.max_user_watches" = 10485760;
|
"fs.inotify.max_user_watches" = 10485760;
|
||||||
"fs.inotify.max_user_instances" = 1024;
|
"fs.inotify.max_user_instances" = 1024;
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
docker-compose
|
docker-compose
|
||||||
ctop
|
ctop
|
||||||
|
inputs.compose2nix.packages.x86_64-linux.default
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
|
|
Loading…
Reference in a new issue