Compare commits
No commits in common. "20ef6f5b90366584ad8aae28c9eea347906a5b5b" and "ccfed67fc0d9ad6d2a51f945e4704027332a83ba" have entirely different histories.
20ef6f5b90
...
ccfed67fc0
7 changed files with 14 additions and 31 deletions
12
flake.lock
12
flake.lock
|
@ -467,11 +467,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1724098845,
|
||||
"narHash": "sha256-D5HwjQw/02fuXbR4LCTo64koglP2j99hkDR79/3yLOE=",
|
||||
"lastModified": 1723688146,
|
||||
"narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f1bad50880bae73ff2d82fafc22010b4fc097a9c",
|
||||
"rev": "c3d4ac725177c030b1e289015989da2ad9d56af0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -559,11 +559,11 @@
|
|||
},
|
||||
"nixpkgs-unstable_2": {
|
||||
"locked": {
|
||||
"lastModified": 1723991338,
|
||||
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
|
||||
"lastModified": 1723637854,
|
||||
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
|
||||
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# ghostty - 👻
|
||||
ghostty = {
|
||||
url = "git+ssh://git@github.com/ghostty-org/ghostty";
|
||||
};
|
||||
|
|
|
@ -33,7 +33,6 @@ with config;
|
|||
solaar
|
||||
talosctl
|
||||
termius
|
||||
unstable.bruno
|
||||
unstable.fractal
|
||||
unstable.peazip
|
||||
unstable.telegram-desktop
|
||||
|
|
|
@ -25,7 +25,6 @@ let
|
|||
"tamasfe.even-better-toml"
|
||||
"tyriar.sort-lines"
|
||||
"yzhang.markdown-all-in-one"
|
||||
"foxundermoon.shell-format"
|
||||
];
|
||||
# Nixpkgs Extensions. These are updated whenver they get around to it.
|
||||
vscodeNixpkgsExtensions = [
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
package = mkPackageOption pkgs "dnsmasq" { };
|
||||
bootAsset = mkOption {
|
||||
type = types.str;
|
||||
example = "http://10.1.1.57:8086/boot.ipxe";
|
||||
example = "http://10.1.1.57:8086/boot.ipxe";
|
||||
};
|
||||
tftpRoot = mkOption {
|
||||
type = types.str;
|
||||
|
@ -18,11 +18,6 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Ensure the tftpRoot directory exists
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${cfg.tftpRoot} 0755 dnsmasq dnsmasq"
|
||||
];
|
||||
|
||||
networking.firewall = {
|
||||
# dhcp ports
|
||||
allowedUDPPorts = [ 67 68 ]; # server/client
|
||||
|
|
|
@ -10,23 +10,14 @@ in
|
|||
dataPath = mkOption {
|
||||
type = types.str;
|
||||
example = "/var/lib/matchbox";
|
||||
description = "This is where profiles, groups, and other matchbox configuration is stored.";
|
||||
};
|
||||
assetPath = mkOption {
|
||||
type = types.str;
|
||||
example = "/var/lib/matchbox/assets";
|
||||
description = "This is where matchbox will look for assets like kernels and initrds.";
|
||||
example = "/nas/matchbox/assets";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Ensure the dataPath and assetPath directories exist
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${cfg.dataPath} 0755 matchbox matchbox"
|
||||
"d ${cfg.assetPath} 0755 matchbox matchbox"
|
||||
];
|
||||
|
||||
# Matchbox Server for PXE booting via device profiles
|
||||
environment.systemPackages = [
|
||||
cfg.package
|
||||
];
|
||||
|
@ -36,6 +27,7 @@ in
|
|||
allowedTCPPorts = [ 8086 ];
|
||||
};
|
||||
|
||||
# Matchbox Server for PXE booting via device profiles
|
||||
users.groups.matchbox = { };
|
||||
users.users = {
|
||||
matchbox = {
|
||||
|
|
|
@ -6,20 +6,19 @@ with config;
|
|||
{
|
||||
# git & vim are in global
|
||||
environment.systemPackages = with pkgs; [
|
||||
jq
|
||||
yq
|
||||
btop
|
||||
dnsutils
|
||||
fira-code-nerdfont
|
||||
jq
|
||||
nix
|
||||
yq
|
||||
fira-code-nerdfont
|
||||
|
||||
# TODO Move
|
||||
gh
|
||||
go
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
shfmt
|
||||
statix
|
||||
gh
|
||||
go
|
||||
|
||||
# bind # for dns utils like named-checkconf
|
||||
inputs.nix-inspect.packages.${pkgs.system}.default
|
||||
|
|
Loading…
Reference in a new issue