Compare commits

...

3 Commits

8 changed files with 112 additions and 14 deletions

17
flake.lock generated
View File

@@ -548,6 +548,22 @@
"type": "github"
}
},
"nono": {
"flake": false,
"locked": {
"lastModified": 1770047555,
"narHash": "sha256-BL1lBZYs6bsjk/+g+Zc2lUjErlvgYYJQqYEKLUjvtVU=",
"owner": "lukehinds",
"repo": "nono",
"rev": "8d382fbc0b21ad06d255a97000d876c15b5dea09",
"type": "github"
},
"original": {
"owner": "lukehinds",
"repo": "nono",
"type": "github"
}
},
"root": {
"inputs": {
"colmena": "colmena",
@@ -564,6 +580,7 @@
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim",
"nono": "nono",
"sops-nix": "sops-nix",
"zjstatus": "zjstatus"
}

View File

@@ -45,6 +45,10 @@
flake = false;
};
jj-starship.url = "github:dmmulroy/jj-starship";
nono = {
url = "github:lukehinds/nono";
flake = false;
};
};
outputs = inputs @ {flake-parts, ...}:

View File

@@ -36,6 +36,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

View File

@@ -35,6 +35,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

View File

@@ -36,6 +36,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

19
overlays/nono.nix Normal file
View File

@@ -0,0 +1,19 @@
{inputs}: final: prev: let
manifest = (prev.lib.importTOML "${inputs.nono}/Cargo.toml").package;
in {
nono =
prev.rustPlatform.buildRustPackage {
pname = manifest.name;
version = manifest.version;
cargoLock.lockFile = "${inputs.nono}/Cargo.lock";
src = inputs.nono;
nativeBuildInputs = with prev; [pkg-config];
buildInputs = with prev; [openssl dbus];
OPENSSL_NO_VENDOR = 1;
doCheck = false;
};
}

View File

@@ -11,6 +11,18 @@
"move-mouse monitor-lazy-center"
];
workspace-to-monitor-force-assignment = {
"1" = "secondary";
"2" = "secondary";
"3" = "secondary";
"4" = "secondary";
"5" = "secondary";
"6" = "secondary";
"7" = "secondary";
"8" = "secondary";
"9" = "main";
};
gaps = {
inner = {
horizontal = 8;
@@ -35,7 +47,31 @@
"if" = {
"app-id" = "com.mitchellh.ghostty";
};
run = "layout tiling";
run = ["layout tiling" "move-node-to-workspace 3"];
}
{
"if" = {
"app-id" = "net.imput.helium";
};
run = "move-node-to-workspace 2";
}
{
"if" = {
"app-id" = "com.tinyspeck.slackmacgap";
};
run = "move-node-to-workspace 5";
}
{
"if" = {
"app-id" = "net.whatsapp.WhatsApp";
};
run = "move-node-to-workspace 5";
}
{
"if" = {
"app-id" = "com.tidal.desktop";
};
run = "move-node-to-workspace 6";
}
];

19
profiles/nono.nix Normal file
View File

@@ -0,0 +1,19 @@
{pkgs, ...}: {
home.packages = with pkgs; [
nono
];
xdg.configFile."nono/profiles/opencode.toml".text = ''
[meta]
name = "opencode"
version = "1.0.0"
description = "OpenCode AI agent"
[filesystem]
allow = ["$WORKDIR"]
read = ["$XDG_CONFIG_HOME/opencode"]
[network]
block = false
'';
}