From 11de044811d357b4b34e87bccfaf5302d0eb6c93 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 5 Aug 2024 09:37:18 -0700 Subject: add a new host: wildcat This is a VPS on hetzner. --- nix/flake/devshell.nix | 2 +- nix/flake/hosts.nix | 2 ++ nix/flake/packages.nix | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'nix/flake') diff --git a/nix/flake/devshell.nix b/nix/flake/devshell.nix index ff56ca6..6a3d678 100644 --- a/nix/flake/devshell.nix +++ b/nix/flake/devshell.nix @@ -29,7 +29,7 @@ gofmt.enable = true; gofumpt.enable = true; nixpkgs-fmt.enable = true; - shellcheck.enable = true; + # shellcheck.enable = true; shfmt.enable = true; taplo.enable = true; ruff.enable = true; diff --git a/nix/flake/hosts.nix b/nix/flake/hosts.nix index c02fe6c..836a26b 100644 --- a/nix/flake/hosts.nix +++ b/nix/flake/hosts.nix @@ -34,6 +34,7 @@ let mkNixosConfig = system: path: nixpkgs.lib.nixosSystem { inherit system; modules = [ + "${self}/nix/hosts/nixos" path ]; specialArgs = { inherit inputs self; }; @@ -49,6 +50,7 @@ in nixosConfigurations = { vm = mkNixosConfig "aarch64-linux" "${self}/nix/hosts/vm"; + wildcat = mkNixosConfig "x86_64-linux" "${self}/nix/hosts/wildcat"; }; } ]; diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix index ae4caba..16c5ec4 100644 --- a/nix/flake/packages.nix +++ b/nix/flake/packages.nix @@ -3,7 +3,7 @@ inputs.flake-parts.flakeModules.easyOverlay ]; - perSystem = { config, pkgs, ... }: { + perSystem = { pkgs, ... }: { packages = { git-blame-stats = pkgs.callPackage "${self}/packages/git-blame-stats" { }; git-broom = pkgs.callPackage "${self}/packages/git-broom" { }; -- cgit v1.2.3