consistency

This commit is contained in:
2026-03-13 15:24:19 +00:00
parent e4d859a6ae
commit e4a20ddeb9
8 changed files with 112 additions and 104 deletions

View File

@@ -5,6 +5,15 @@
inputs', inputs',
... ...
}: { }: {
home.packages = [
inputs'.llm-agents.packages.claude-code
pkgs.nono
];
home.shellAliases = {
noc = "nono run -s --allow-cwd --profile opencode --allow ~/.bun --allow ~/.local/share/opensrc --allow ~/.config/jj --network-profile developer --proxy-allow models.dev --proxy-allow chatgpt.com --proxy-allow mcp.grep.app --proxy-allow mcp.context7.com --proxy-allow mcp.exa.ai -- opencode";
};
programs.opencode = { programs.opencode = {
enable = true; enable = true;
package = inputs'.llm-agents.packages.opencode; package = inputs'.llm-agents.packages.opencode;
@@ -61,15 +70,6 @@
}; };
}; };
home.shellAliases = {
noc = "nono run -s --allow-cwd --profile opencode --allow ~/.bun --allow ~/.local/share/opensrc --allow ~/.config/jj --network-profile developer --proxy-allow models.dev --proxy-allow chatgpt.com --proxy-allow mcp.grep.app --proxy-allow mcp.context7.com --proxy-allow mcp.exa.ai -- opencode";
};
home.packages = [
inputs'.llm-agents.packages.claude-code
pkgs.nono
];
systemd.user.services.opencode-server = { systemd.user.services.opencode-server = {
Unit = { Unit = {
Description = "OpenCode AI server"; Description = "OpenCode AI server";

View File

@@ -4,6 +4,12 @@
lib, lib,
... ...
}: { }: {
# System utilities
environment.systemPackages =
lib.optionals pkgs.stdenv.isLinux [
pkgs.lm_sensors
];
programs.fish.enable = true; programs.fish.enable = true;
environment.shells = [pkgs.nushell]; environment.shells = [pkgs.nushell];
@@ -33,11 +39,5 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
}; };
# System utilities
environment.systemPackages =
lib.optionals pkgs.stdenv.isLinux [
pkgs.lm_sensors
];
}; };
} }

View File

@@ -8,6 +8,13 @@
system.primaryUser = "cschmatzler"; system.primaryUser = "cschmatzler";
# Darwin system utilities
environment.systemPackages = with pkgs; [
alcove
dockutil
mas
];
system.defaults = { system.defaults = {
NSGlobalDomain = { NSGlobalDomain = {
AppleInterfaceStyle = null; AppleInterfaceStyle = null;
@@ -140,12 +147,5 @@
"tidal" "tidal"
]; ];
}; };
# Darwin system utilities
environment.systemPackages = with pkgs; [
alcove
dockutil
mas
];
}; };
} }

View File

@@ -63,6 +63,10 @@
jj-starship.url = "github:dmmulroy/jj-starship"; jj-starship.url = "github:dmmulroy/jj-starship";
zjstatus.url = "github:dj95/zjstatus"; zjstatus.url = "github:dj95/zjstatus";
tuicr.url = "github:agavra/tuicr"; tuicr.url = "github:agavra/tuicr";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
naersk = { naersk = {
url = "github:nix-community/naersk/master"; url = "github:nix-community/naersk/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -71,6 +75,10 @@
url = "github:always-further/nono"; url = "github:always-further/nono";
flake = false; flake = false;
}; };
vite-plus = {
url = "github:voidzero-dev/vite-plus/v0.1.11";
flake = false;
};
# Secrets inputs # Secrets inputs
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";

View File

@@ -4,6 +4,12 @@
lib, lib,
... ...
}: { }: {
home.packages = with pkgs;
lib.optionals stdenv.isDarwin [
_1password-gui
raycast
];
programs.aerospace = { programs.aerospace = {
enable = true; enable = true;
launchd.enable = true; launchd.enable = true;
@@ -144,11 +150,5 @@
}; };
}; };
}; };
home.packages = with pkgs;
lib.optionals stdenv.isDarwin [
_1password-gui
raycast
];
}; };
} }

View File

@@ -6,6 +6,40 @@
}: let }: let
name = "Christoph Schmatzler"; name = "Christoph Schmatzler";
in { in {
home.packages = with pkgs;
[
alejandra
ast-grep
bun
delta
deadnix
devenv
docker
docker-compose
gh
gnumake
hyperfine
jj-ryu
jj-starship
nil
nodejs_24
nurl
pnpm
postgresql_17
serie
sqlite
statix
tea
tokei
tree-sitter
]
++ lib.optionals stdenv.isDarwin [
xcodes
]
++ lib.optionals stdenv.isLinux [
gcc15
];
# Git configuration # Git configuration
programs.git = { programs.git = {
enable = true; enable = true;
@@ -197,39 +231,5 @@
auto_install = false; auto_install = false;
}; };
}; };
home.packages = with pkgs;
[
alejandra
ast-grep
bun
delta
deadnix
devenv
docker
docker-compose
gh
gnumake
hyperfine
jj-ryu
jj-starship
nil
nodejs_24
nurl
pnpm
postgresql_17
serie
sqlite
statix
tea
tokei
tree-sitter
]
++ lib.optionals stdenv.isDarwin [
xcodes
]
++ lib.optionals stdenv.isLinux [
gcc15
];
}; };
} }

View File

@@ -4,6 +4,10 @@
pkgs, pkgs,
... ...
}: { }: {
home.packages = with pkgs; [
vivid
];
programs.nushell = { programs.nushell = {
enable = true; enable = true;
@@ -277,9 +281,5 @@
}; };
}; };
}; };
home.packages = with pkgs; [
vivid
];
}; };
} }

View File

@@ -10,6 +10,44 @@
lib, lib,
... ...
}: { }: {
home.packages = with pkgs;
[
dust
fastfetch
fd
glow
htop
jq
killall
lsof
ouch
ov
sd
tree
tuicr
]
++ lib.optionals stdenv.isLinux [
ghostty.terminfo
];
home.sessionVariables = {
FZF_DEFAULT_OPTS = ''
--bind=alt-k:up,alt-j:down
--expect=tab,enter
--layout=reverse
--delimiter='\t'
--with-nth=1
--preview-window='border-rounded' --prompt=' ' --marker=' ' --pointer=' '
--separator='' --scrollbar='' --layout='reverse'
--color=bg+:#f2e9e1,bg:#faf4ed,spinner:#ea9d34,hl:#d7827e
--color=fg:#797593,header:#286983,info:#56949f,pointer:#907aa9
--color=marker:#b4637a,fg+:#575279,prompt:#797593,hl+:#d7827e
--color=selected-bg:#f2e9e1
--color=border:#dfdad9,label:#575279
'';
};
xdg.configFile."ghostty/config".text = '' xdg.configFile."ghostty/config".text = ''
command = ${pkgs.nushell}/bin/nu command = ${pkgs.nushell}/bin/nu
theme = Rose Pine Dawn theme = Rose Pine Dawn
@@ -51,24 +89,6 @@
enable = true; enable = true;
}; };
home.sessionVariables = {
FZF_DEFAULT_OPTS = ''
--bind=alt-k:up,alt-j:down
--expect=tab,enter
--layout=reverse
--delimiter='\t'
--with-nth=1
--preview-window='border-rounded' --prompt=' ' --marker=' ' --pointer=' '
--separator='' --scrollbar='' --layout='reverse'
--color=bg+:#f2e9e1,bg:#faf4ed,spinner:#ea9d34,hl:#d7827e
--color=fg:#797593,header:#286983,info:#56949f,pointer:#907aa9
--color=marker:#b4637a,fg+:#575279,prompt:#797593,hl+:#d7827e
--color=selected-bg:#f2e9e1
--color=border:#dfdad9,label:#575279
'';
};
programs.ripgrep = { programs.ripgrep = {
enable = true; enable = true;
arguments = [ arguments = [
@@ -135,25 +155,5 @@
}; };
}; };
}; };
home.packages = with pkgs;
[
dust
fastfetch
fd
glow
htop
jq
killall
lsof
ouch
ov
sd
tree
tuicr
]
++ lib.optionals stdenv.isLinux [
ghostty.terminfo
];
}; };
} }