add nixos-generators module

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-24 12:23:03 -05:00
parent 2d0c49f55b
commit a9d2f0adc0
3 changed files with 10 additions and 2 deletions

View file

@ -57,3 +57,7 @@ jobs:
# always save the cache # always save the cache
save-always: true save-always: true
- run: nix build -L ${{ matrix.package }} - run: nix build -L ${{ matrix.package }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.package }}-${{ matrix.os }}
path: result/

View file

@ -69,8 +69,12 @@
inputs.flake-compat.follows = "flake-compat"; inputs.flake-compat.follows = "flake-compat";
}; };
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
nixpkgs-rpi.url = "github:nixos/nixpkgs/d4e529a24b66b0341f2b866c5abe3ad8a96be2d7"; nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-rpi.url = "github:nixos/nixpkgs/d4e529a24b66b0341f2b866c5abe3ad8a96be2d7";
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
nvim-github-theme = { nvim-github-theme = {

View file

@ -1,6 +1,6 @@
{ config, ... }: { { config, ... }: {
services.tailscale = { services.tailscale = {
enable = true; enable = false;
authKeyFile = config.sops.secrets."tailscale/auth".path; authKeyFile = config.sops.secrets."tailscale/auth".path;
openFirewall = true; openFirewall = true;
useRoutingFeatures = "client"; useRoutingFeatures = "client";