Compare commits

...

2 commits

Author SHA1 Message Date
Leonardo Eugênio c4f9705002 phandom: add warthunder-leak-counter 2024-06-22 14:21:05 -03:00
Leonardo Eugênio 0fa3ae4add flake: pin dzgui 2024-06-22 14:21:05 -03:00
4 changed files with 124 additions and 5 deletions

View file

@ -81,6 +81,27 @@
"type": "github"
}
},
"crane_2": {
"inputs": {
"nixpkgs": [
"warthunder-leak-counter",
"nixpkgs"
]
},
"locked": {
"lastModified": 1718730147,
"narHash": "sha256-QmD6B6FYpuoCqu6ZuPJH896ItNquDkn0ulQlOn4ykN8=",
"owner": "ipetkov",
"repo": "crane",
"rev": "32c21c29b034d0a93fdb2379d6fabc40fc3d0e6c",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
@ -168,22 +189,40 @@
"type": "github"
}
},
"dzgui": {
"flake": false,
"locked": {
"lastModified": 1702780245,
"narHash": "sha256-cdW5LN2Q7eYW8xIqKPQfeYPd7e6VdJGaoA9NMHesCrE=",
"owner": "aclist",
"repo": "dztui",
"rev": "28323f3edb8fa747dc559d1939ccdd7729e4e3a1",
"type": "github"
},
"original": {
"owner": "aclist",
"repo": "dztui",
"type": "github"
}
},
"dzgui-nix": {
"inputs": {
"dzgui": "dzgui",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1718144257,
"narHash": "sha256-rgRnU05sgqdDpxF3n6oaGUOGbW0xehijrBNr3DJnN3U=",
"lastModified": 1702850463,
"narHash": "sha256-qR/c/GjsLUzrCyHN/Q9nnClduf6OqTg26S1AFYKPzxA=",
"owner": "lelgenio",
"repo": "dzgui-nix",
"rev": "c0aa386e8c08946dc2b8713e59a77cb6079a0b62",
"rev": "2ed6515b27d8186b9fedfe1dcaf861f07e796a0d",
"type": "github"
},
"original": {
"owner": "lelgenio",
"ref": "dzgui-4.1.0",
"repo": "dzgui-nix",
"type": "github"
}
@ -381,6 +420,24 @@
"inputs": {
"systems": "systems_8"
},
"locked": {
"lastModified": 1681202837,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_7": {
"inputs": {
"systems": "systems_9"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
@ -596,6 +653,7 @@
"plymouth-themes": "plymouth-themes",
"ranger-icons": "ranger-icons",
"tlauncher": "tlauncher",
"warthunder-leak-counter": "warthunder-leak-counter",
"wl-crosshair": "wl-crosshair"
}
},
@ -786,6 +844,21 @@
"type": "github"
}
},
"systems_9": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tlauncher": {
"inputs": {
"flake-utils": "flake-utils_5",
@ -843,9 +916,31 @@
"type": "github"
}
},
"warthunder-leak-counter": {
"inputs": {
"crane": "crane_2",
"flake-utils": "flake-utils_6",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1719076817,
"narHash": "sha256-B6NTomYXL50j6fabZrAGvTPp3zv5oFxNUhwvLhDNoMw=",
"ref": "refs/heads/main",
"rev": "406d6646970191c016a375f25a35aa00dfa0d4aa",
"revCount": 4,
"type": "git",
"url": "https://git.lelgenio.com/lelgenio/warthunder-leak-counter"
},
"original": {
"type": "git",
"url": "https://git.lelgenio.com/lelgenio/warthunder-leak-counter"
}
},
"wl-crosshair": {
"inputs": {
"flake-utils": "flake-utils_6",
"flake-utils": "flake-utils_7",
"nixpkgs": [
"nixpkgs"
]

View file

@ -29,7 +29,7 @@
};
dzgui-nix = {
url = "github:lelgenio/dzgui-nix";
url = "github:lelgenio/dzgui-nix/dzgui-4.1.0";
inputs.nixpkgs.follows = "nixpkgs";
};
@ -54,6 +54,10 @@
url = "github:lelgenio/wl-crosshair";
inputs.nixpkgs.follows = "nixpkgs";
};
warthunder-leak-counter = {
url = "git+https://git.lelgenio.com/lelgenio/warthunder-leak-counter";
inputs.nixpkgs.follows = "nixpkgs";
};
# gnome stuff
nixos-conf-editor = {

View file

@ -18,6 +18,7 @@
./writefreely.nix
./email.nix
./forgejo.nix
./warthunder-leak-counter.nix
];
networking.hostName = "phantom";

View file

@ -0,0 +1,19 @@
{
inputs,
pkgs,
config,
...
}:
{
imports = [ inputs.warthunder-leak-counter.nixosModules.default ];
services.warthunder-leak-counter.enable = true;
services.nginx.virtualHosts."warthunder-leak-counter.lelgenio.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.warthunder-leak-counter.port}";
};
};
}