Compare commits

..

No commits in common. "3510da965738ac5570d011cc58e439a43fef8764" and "1c449848e29aa5c8c0fd6241bc82d530fe9e0007" have entirely different histories.

4 changed files with 23 additions and 66 deletions

38
flake.lock generated
View file

@ -883,26 +883,6 @@
"type": "github"
}
},
"nix-ld": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1737361468,
"narHash": "sha256-+CtIrQZ22MOAOHcpg1zbhX/fVkmEc8A8lYVpXAbXElQ=",
"owner": "nix-community",
"repo": "nix-ld",
"rev": "7f15f8622b63b907fef137689f4528a9447d9377",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-ld",
"type": "github"
}
},
"nix2container": {
"flake": false,
"locked": {
@ -935,6 +915,22 @@
"type": "github"
}
},
"nixpkgs-cutter": {
"locked": {
"lastModified": 1738351607,
"narHash": "sha256-jJ9u1dLnhGeAeQdmziihaka33zEwBOIKmlB6YbFcIjs=",
"owner": "cything",
"repo": "nixpkgs",
"rev": "940b291c7c6ad8e999cb34d8d5de7913f6776c26",
"type": "github"
},
"original": {
"owner": "cything",
"ref": "cutter-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-garage": {
"locked": {
"lastModified": 1736921030,
@ -1227,8 +1223,8 @@
"lix": "lix",
"lix-module": "lix-module",
"niri": "niri",
"nix-ld": "nix-ld",
"nixpkgs": "nixpkgs_5",
"nixpkgs-cutter": "nixpkgs-cutter",
"nixpkgs-garage": "nixpkgs-garage",
"nixvim": "nixvim",
"nvim-github-theme": "nvim-github-theme",

View file

@ -68,12 +68,9 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-compat.follows = "flake-compat";
};
nix-ld = {
url = "github:nix-community/nix-ld";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
nixpkgs-cutter.url = "github:cything/nixpkgs/cutter-unstable";
nvim-github-theme = {
url = "github:projekt0n/github-nvim-theme";
@ -153,6 +150,9 @@
overlays = [
inputs.niri.overlays.niri
inputs.rust-overlay.overlays.default
(final: prev: {
cutter = inputs.nixpkgs-cutter.legacyPackages.${prev.system}.cutter;
})
] ++ import ./overlay;
};
in
@ -174,7 +174,6 @@
inputs.lanzaboote.nixosModules.lanzaboote
inputs.niri.nixosModules.niri
inputs.lix-module.nixosModules.default
inputs.nix-ld.nixosModules.nix-ld
];
};
chunk = lib.nixosSystem {

View file

@ -112,8 +112,7 @@
sccache
awscli2
lldb
(cutter.withPlugins (plugins: with plugins; [ rz-ghidra jsdec sigdb ]))
ida-free
(cutter.withPlugins (plugins: [ plugins.rz-ghidra ]))
];
programs.waybar.enable = true;

View file

@ -276,44 +276,7 @@
programs.virt-manager.enable = true;
services.usbmuxd.enable = true;
programs.nix-ld.dev = {
enable = true;
# nix run github:thiagokokada/nix-alien#nix-alien-find-libs ./<binary>
libraries = with pkgs; [
mesa
extest
stdenv.cc.cc
libGL
fontconfig
libxkbcommon
zlib
libxml2
dbus
freetype
egl-wayland
waylandpp
cairo
xcb-util-cursor
xorg.libX11
xorg.libxcb
xorg.xcbutilwm
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilrenderutil
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libxkbfile
xorg.libxshmfence
];
};
programs.nix-ld.enable = true;
programs.evolution.enable = true;
xdg.portal = {