fix: format nix files and update configurations
This commit is contained in:
@@ -6,7 +6,6 @@ This file provides guidelines for AI coding agents operating within this reposit
|
|||||||
|
|
||||||
- **Build**: `make build-usb` (Builds the NixOS workshop ISO)
|
- **Build**: `make build-usb` (Builds the NixOS workshop ISO)
|
||||||
- **Local VM**: `make vm` (Starts local VM that simulates USB environment)
|
- **Local VM**: `make vm` (Starts local VM that simulates USB environment)
|
||||||
- **Lint**: `make lint` (Runs markdownlint, JSON validation, and nixpkgs-fmt)
|
|
||||||
- **Test**: `make status-cloud` (Health checks for cloud infrastructure)
|
- **Test**: `make status-cloud` (Health checks for cloud infrastructure)
|
||||||
- **Deploy**: `make deploy-cloud` (Deploys 15 VMs to Hetzner Cloud)
|
- **Deploy**: `make deploy-cloud` (Deploys 15 VMs to Hetzner Cloud)
|
||||||
|
|
||||||
|
|||||||
21
flake.nix
21
flake.nix
@@ -10,10 +10,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ self
|
{
|
||||||
, nixpkgs
|
self,
|
||||||
, nixos-generators
|
nixpkgs,
|
||||||
,
|
nixos-generators,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
|
|
||||||
# Common configuration
|
# Common configuration
|
||||||
commonConfig =
|
commonConfig =
|
||||||
{ isLiveIso ? false
|
{
|
||||||
,
|
isLiveIso ? false,
|
||||||
}:
|
}:
|
||||||
import ./common.nix {
|
import ./common.nix {
|
||||||
inherit pkgs cloudServerNames isLiveIso;
|
inherit pkgs cloudServerNames isLiveIso;
|
||||||
@@ -76,10 +76,11 @@
|
|||||||
(commonConfig { isLiveIso = false; })
|
(commonConfig { isLiveIso = false; })
|
||||||
|
|
||||||
(
|
(
|
||||||
{ config
|
{
|
||||||
, pkgs
|
config,
|
||||||
, lib
|
pkgs,
|
||||||
, ...
|
lib,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user