1
1
Fork 0

Compare commits

...

3 commits

Author SHA1 Message Date
fc186ec4df
nix: update flake.lock
Signed-off-by: Myned <dev@bjork.tech>
2025-01-15 19:16:21 -06:00
2860a7d0ee
netbox: add inventory and nextbox plugins
Signed-off-by: Myned <dev@bjork.tech>
2025-01-15 19:16:14 -06:00
5568d90cca
nix-ld: add nix-alien option
Signed-off-by: Myned <dev@bjork.tech>
2025-01-15 19:15:51 -06:00
6 changed files with 145 additions and 15 deletions

View file

@ -59,6 +59,7 @@
jovian-nixos = flake "github:Jovian-Experiments/Jovian-NixOS" // unstable "nixpkgs";
niri = flake "github:YaLTeR/niri" // unstable "nixpkgs";
niri-flake = flake "github:sodiboo/niri-flake" // unstable "nixpkgs";
nix-alien = flake "github:thiagokokada/nix-alien" // unstable "nixpkgs";
nix-flatpak = flake "github:gmodena/nix-flatpak?ref=v0.5.1";
nix-index-database-unstable = flake "github:nix-community/nix-index-database" // unstable "nixpkgs";
nix-vscode-extensions = flake "github:nix-community/nix-vscode-extensions" // unstable "nixpkgs";

137
flake.lock generated
View file

@ -756,6 +756,22 @@
"type": "github"
}
},
"flake-compat_12": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
@ -870,13 +886,12 @@
}
},
"flake-compat_9": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
@ -1077,6 +1092,24 @@
"inputs": {
"systems": "systems_12"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_6": {
"inputs": {
"systems": "systems_13"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
@ -1091,7 +1124,7 @@
"type": "github"
}
},
"flake-utils_6": {
"flake-utils_7": {
"inputs": {
"systems": [
"stylix-stable",
@ -1112,7 +1145,7 @@
"type": "github"
}
},
"flake-utils_7": {
"flake-utils_8": {
"inputs": {
"systems": [
"stylix-unstable",
@ -2331,6 +2364,30 @@
"type": "github"
}
},
"nix-alien": {
"inputs": {
"flake-compat": "flake-compat_9",
"flake-utils": "flake-utils_5",
"nix-filter": "nix-filter_3",
"nix-index-database": "nix-index-database",
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1736952083,
"narHash": "sha256-zLhLqxc2JKvUtr0mSRRvOeKXN5dl5bn1e99z7EOp3bI=",
"owner": "thiagokokada",
"repo": "nix-alien",
"rev": "7e687663d2054fa1708284bd42731c6be62b1667",
"type": "github"
},
"original": {
"owner": "thiagokokada",
"repo": "nix-alien",
"type": "github"
}
},
"nix-filter": {
"locked": {
"lastModified": 1710156097,
@ -2362,6 +2419,21 @@
"type": "github"
}
},
"nix-filter_3": {
"locked": {
"lastModified": 1731533336,
"narHash": "sha256-oRam5PS1vcrr5UPgALW0eo1m/5/pls27Z/pabHNy2Ms=",
"owner": "numtide",
"repo": "nix-filter",
"rev": "f7653272fd234696ae94229839a99b73c9ab7de0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "nix-filter",
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1733228754,
@ -2426,6 +2498,27 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nix-alien",
"nixpkgs"
]
},
"locked": {
"lastModified": 1736652904,
"narHash": "sha256-8uolHABgroXqzs03QdulHp8H9e5kWQZnnhcda1MKbBM=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "271e5bd7c57e1f001693799518b10a02d1123b12",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nix-index-database-stable": {
"inputs": {
"nixpkgs": [
@ -2491,8 +2584,8 @@
},
"nix-vscode-extensions": {
"inputs": {
"flake-compat": "flake-compat_9",
"flake-utils": "flake-utils_5",
"flake-compat": "flake-compat_10",
"flake-utils": "flake-utils_6",
"nixpkgs": [
"nixpkgs-unstable"
]
@ -2918,6 +3011,7 @@
"lifx-cli": "lifx-cli",
"niri": "niri",
"niri-flake": "niri-flake",
"nix-alien": "nix-alien",
"nix-flatpak": "nix-flatpak",
"nix-index-database-stable": "nix-index-database-stable",
"nix-index-database-unstable": "nix-index-database-unstable",
@ -2997,15 +3091,15 @@
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme_2",
"flake-compat": "flake-compat_10",
"flake-utils": "flake-utils_6",
"flake-compat": "flake-compat_11",
"flake-utils": "flake-utils_7",
"git-hooks": "git-hooks_2",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs-stable"
],
"systems": "systems_13",
"systems": "systems_14",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-tmux": "tinted-tmux"
@ -3032,15 +3126,15 @@
"base16-helix": "base16-helix_2",
"base16-vim": "base16-vim_2",
"firefox-gnome-theme": "firefox-gnome-theme_3",
"flake-compat": "flake-compat_11",
"flake-utils": "flake-utils_7",
"flake-compat": "flake-compat_12",
"flake-utils": "flake-utils_8",
"git-hooks": "git-hooks_3",
"gnome-shell": "gnome-shell_2",
"home-manager": "home-manager_3",
"nixpkgs": [
"nixpkgs-unstable"
],
"systems": "systems_14",
"systems": "systems_15",
"tinted-foot": "tinted-foot_2",
"tinted-kitty": "tinted-kitty_2",
"tinted-tmux": "tinted-tmux_2",
@ -3150,6 +3244,21 @@
"type": "github"
}
},
"systems_15": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1689347949,

View file

@ -103,6 +103,10 @@
inputs.nixpkgs.follows = "nixpkgs-unstable";
url = "github:sodiboo/niri-flake";
};
nix-alien = {
inputs.nixpkgs.follows = "nixpkgs-unstable";
url = "github:thiagokokada/nix-alien";
};
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=v0.5.1";
nix-index-database-stable = {
inputs.nixpkgs.follows = "nixpkgs-stable";

View file

@ -20,6 +20,7 @@ PLUGINS = [
"netbox_attachments",
"netbox_dns",
"netbox_interface_synchronization",
"netbox_inventory",
# "netbox_lists",
"netbox_otp_plugin",
"netbox_reorder_rack",
@ -27,6 +28,7 @@ PLUGINS = [
# "netbox_secrets",
"netbox_storage",
"netbox_topology_views",
"nextbox_ui_plugin",
# "slurpit_netbox",
]

View file

@ -1,6 +1,7 @@
netbox-acls == 1.7.* # https://github.com/netbox-community/netbox-acls
netbox-attachments == 6.* # https://github.com/Kani999/netbox-attachments
netbox-interface-synchronization == 4.1.* # https://github.com/NetTech2001/netbox-interface-synchronization
netbox-inventory == 2.2.* # https://github.com/ArnesSI/netbox-inventory
# netbox-lists == 4.0.* # https://github.com/devon-mar/netbox-lists
netbox-otp-plugin == 1.3.* # https://github.com/k1nky/netbox-otp-plugin
netbox-plugin-dns == 1.1.* # https://github.com/peteeckel/netbox-plugin-dns
@ -9,4 +10,5 @@ netbox-reorder-rack == 1.1.* # https://github.com/netbox-community/netbox-reorde
# netbox-secrets == 2.1.* # https://github.com/Onemind-Services-LLC/netbox-secrets
netbox-storage-plugin == 0.7.* # https://github.com/viroge/netbox-storage
netbox-topology-views == 4.1.* # https://github.com/netbox-community/netbox-topology-views
nextbox-ui-plugin == 1.0.* # https://github.com/iDebugAll/nextbox-ui-plugin
# slurpit_netbox == 0.9.* # https://gitlab.com/slurpit.io/slurpit-netbox

View file

@ -1,15 +1,27 @@
{
config,
inputs,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs.nix-ld;
in {
options.custom.programs.nix-ld.enable = mkOption {default = false;};
options.custom.programs.nix-ld = {
enable = mkOption {default = false;};
nix-alien = mkOption {default = true;};
};
config = mkIf cfg.enable {
# https://github.com/nix-community/nix-ld
programs.nix-ld.enable = true;
# https://github.com/thiagokokada/nix-alien
#?? nix-alien -- BINARY
environment.systemPackages = mkIf cfg.nix-alien [pkgs.nix-alien];
# https://github.com/thiagokokada/nix-alien?tab=readme-ov-file#nixos-installation-with-flakes
nixpkgs.overlays = [inputs.nix-alien.overlays.default];
};
}