chore(shell): add nixmoxer

This commit is contained in:
Julien Malka 2024-12-21 13:42:48 +01:00
parent 816215a9af
commit 5201fcfae4
Signed by: Luj
GPG key ID: 6FC74C847011FD83
3 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
.direnv .direnv
result result
result-* result-*
nixmoxer.conf

View file

@ -161,6 +161,16 @@
"url": "https://github.com/nixos/nixpkgs/archive/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca.tar.gz", "url": "https://github.com/nixos/nixpkgs/archive/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca.tar.gz",
"hash": "sha256-nbG9TijTMcfr+au7ZVbKpAhMJzzE2nQBYmRvSdXUD8g=" "hash": "sha256-nbG9TijTMcfr+au7ZVbKpAhMJzzE2nQBYmRvSdXUD8g="
}, },
"proxmox": {
"type": "GitHub",
"fetchType": "tarball",
"owner": "saumonnet",
"repo": "proxmox-nixos",
"branch": "main",
"revision": "15187a4c4ac50d1a38c734f72dd201a7eb504a89",
"url": "https://github.com/saumonnet/proxmox-nixos/archive/15187a4c4ac50d1a38c734f72dd201a7eb504a89.tar.gz",
"hash": "sha256-wh2piKI2vfwQXmeSVX3ZDdxg6ChUQ1YolG4Cn4r6nuk="
},
"stateless-uptime-kuma": { "stateless-uptime-kuma": {
"type": "Git", "type": "Git",
"fetchType": "git", "fetchType": "git",

View file

@ -5,6 +5,7 @@ let
agenix = pkgs.callPackage "${inputs.agenix}/pkgs/agenix.nix" { }; agenix = pkgs.callPackage "${inputs.agenix}/pkgs/agenix.nix" { };
bootstrap = pkgs.callPackage scripts/bootstrap-machine.nix { inherit nixos-anywhere; }; bootstrap = pkgs.callPackage scripts/bootstrap-machine.nix { inherit nixos-anywhere; };
lon = pkgs.callPackage "${inputs.lon}/nix/packages/lon.nix" { }; lon = pkgs.callPackage "${inputs.lon}/nix/packages/lon.nix" { };
nixmoxer = pkgs.callPackage "${inputs.proxmox}/pkgs/nixmoxer" { };
pre-commit-hook = pre-commit-hook =
(import ( (import (
pkgs.applyPatches { pkgs.applyPatches {
@ -40,6 +41,7 @@ pkgs.mkShell {
bootstrap bootstrap
pkgs.statix pkgs.statix
lon lon
nixmoxer
]; ];
shellHook = '' shellHook = ''
${pre-commit-hook.shellHook} ${pre-commit-hook.shellHook}