overlay cutter

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-31 14:27:16 -05:00
parent 30c82dcb4f
commit 1c449848e2
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
5 changed files with 29 additions and 6 deletions

17
flake.lock generated
View file

@ -915,6 +915,22 @@
"type": "github" "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": { "nixpkgs-garage": {
"locked": { "locked": {
"lastModified": 1736921030, "lastModified": 1736921030,
@ -1208,6 +1224,7 @@
"lix-module": "lix-module", "lix-module": "lix-module",
"niri": "niri", "niri": "niri",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"nixpkgs-cutter": "nixpkgs-cutter",
"nixpkgs-garage": "nixpkgs-garage", "nixpkgs-garage": "nixpkgs-garage",
"nixvim": "nixvim", "nixvim": "nixvim",
"nvim-github-theme": "nvim-github-theme", "nvim-github-theme": "nvim-github-theme",

View file

@ -70,6 +70,7 @@
}; };
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
nixpkgs-cutter.url = "github:cything/nixpkgs/cutter-unstable";
nvim-github-theme = { nvim-github-theme = {
url = "github:projekt0n/github-nvim-theme"; url = "github:projekt0n/github-nvim-theme";
@ -136,7 +137,7 @@
settings.global.excludes = [ settings.global.excludes = [
"secrets/*" "secrets/*"
"**/*.png" # tries to format a png file?? "**/*.png" # tries to format a png file
]; ];
}; };
}; };
@ -149,6 +150,9 @@
overlays = [ overlays = [
inputs.niri.overlays.niri inputs.niri.overlays.niri
inputs.rust-overlay.overlays.default inputs.rust-overlay.overlays.default
(final: prev: {
cutter = inputs.nixpkgs-cutter.legacyPackages.${prev.system}.cutter;
})
] ++ import ./overlay; ] ++ import ./overlay;
}; };
in in
@ -169,7 +173,7 @@
./modules ./modules
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.niri.nixosModules.niri inputs.niri.nixosModules.niri
inputs.lix-module.nixosModules.default # broken inputs.lix-module.nixosModules.default
]; ];
}; };
chunk = lib.nixosSystem { chunk = lib.nixosSystem {

View file

@ -111,6 +111,8 @@
sequoia sequoia
sccache sccache
awscli2 awscli2
lldb
(cutter.withPlugins (plugins: [ plugins.rz-ghidra ]))
]; ];
programs.waybar.enable = true; programs.waybar.enable = true;
@ -148,8 +150,6 @@
''; '';
}; };
services.gnome-keyring.enable = true;
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;

View file

@ -89,8 +89,8 @@
"ga" = "git add"; "ga" = "git add";
"gaa" = "git add --all"; "gaa" = "git add --all";
"gb" = "git branch"; "gb" = "git branch";
"gc" = "git commit --verbose -s"; "gc" = "git commit --verbose";
"gcmsg" = "git commit -s --message"; "gcmsg" = "git commit --message";
"gd" = "git diff"; "gd" = "git diff";
"gdca" = "git diff --cached"; "gdca" = "git diff --cached";
"gds" = "git diff --staged"; "gds" = "git diff --staged";

View file

@ -282,6 +282,8 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome ];
}; };
programs.obs-studio = { programs.obs-studio = {