added AZPIPRODUKTION / restructure user folders
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
outputs,
|
||||
pkgs,
|
||||
|
||||
@@ -367,10 +367,10 @@
|
||||
echo "Using local repository..."
|
||||
cd /home/${config.home.username}/AZ-NIX
|
||||
${pkgs.git}/bin/git pull
|
||||
${pkgs.nix}/bin/nix run home-manager/release-25.05 -- switch --flake .#${flakeConfig}
|
||||
${pkgs.nix}/bin/nix run home-manager/release-25.11 -- switch --flake .#${flakeConfig}
|
||||
else
|
||||
echo "Using remote repository..."
|
||||
${pkgs.nix}/bin/nix run home-manager/release-25.05 -- switch \
|
||||
${pkgs.nix}/bin/nix run home-manager/release-25.11 -- switch \
|
||||
--flake ${repoUrl}#${flakeConfig}
|
||||
fi
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
]))
|
||||
pyrefly
|
||||
nixd
|
||||
nix-update
|
||||
sidecar
|
||||
td
|
||||
# opencode-desktop
|
||||
tailwindcss
|
||||
tailwindcss-language-server
|
||||
];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{inputs, ...}: {
|
||||
xdg.configFile = {
|
||||
"opencode/command" = {
|
||||
source = "${inputs.agents}/command";
|
||||
"opencode/commands" = {
|
||||
source = "${inputs.agents}/commands";
|
||||
recursive = true;
|
||||
};
|
||||
"opencode/context" = {
|
||||
@@ -12,8 +12,8 @@
|
||||
source = "${inputs.agents}/prompts";
|
||||
recursive = true;
|
||||
};
|
||||
"opencode/skill" = {
|
||||
source = "${inputs.agents}/skill";
|
||||
"opencode/skills" = {
|
||||
source = "${inputs.agents}/skills";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
@@ -22,8 +22,8 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "opencode";
|
||||
plugin = ["oh-my-opencode" "opencode-beads" "opencode-anthropic-auth"];
|
||||
agent = builtins.fromJSON (builtins.readFile "${inputs.agents}/agent/agents.json");
|
||||
plugin = ["oh-my-opencode" "opencode-beads"];
|
||||
agent = builtins.fromJSON (builtins.readFile "${inputs.agents}/agents/agents.json");
|
||||
formatter = {
|
||||
alejandra = {
|
||||
command = ["alejandra" "-q" "-"];
|
||||
@@ -49,6 +49,19 @@
|
||||
];
|
||||
enabled = true;
|
||||
};
|
||||
Basecamp = {
|
||||
type = "local";
|
||||
command = [
|
||||
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv/bin/python"
|
||||
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"
|
||||
];
|
||||
environment = {
|
||||
PYTHONPATH = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server";
|
||||
VIRTUAL_ENV = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv";
|
||||
BASECAMP_ACCOUNT_ID = "5996442";
|
||||
};
|
||||
enabled = false;
|
||||
};
|
||||
Outline = {
|
||||
type = "local";
|
||||
command = [
|
||||
@@ -64,121 +77,57 @@
|
||||
|
||||
home.file.".config/opencode/oh-my-opencode.json".text = builtins.toJSON {
|
||||
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||
google_auth = false;
|
||||
agents = {
|
||||
Sisyphus = {
|
||||
model = "anthropic/claude-opus-4-5";
|
||||
permission = {
|
||||
edit = "allow";
|
||||
bash = {
|
||||
"*" = "allow";
|
||||
"rm *" = "ask";
|
||||
"rmdir *" = "ask";
|
||||
"mv *" = "ask";
|
||||
"chmod *" = "ask";
|
||||
"chown *" = "ask";
|
||||
"git *" = "ask";
|
||||
"git status*" = "allow";
|
||||
"git log*" = "allow";
|
||||
"git diff*" = "allow";
|
||||
"git branch*" = "allow";
|
||||
"git show*" = "allow";
|
||||
"git stash list*" = "allow";
|
||||
"git remote -v" = "allow";
|
||||
"git add *" = "allow";
|
||||
"git commit *" = "allow";
|
||||
"jj *" = "ask";
|
||||
"jj status" = "allow";
|
||||
"jj log*" = "allow";
|
||||
"jj diff*" = "allow";
|
||||
"jj show*" = "allow";
|
||||
"npm *" = "ask";
|
||||
"npx *" = "ask";
|
||||
"bun *" = "ask";
|
||||
"bunx *" = "ask";
|
||||
"uv *" = "ask";
|
||||
"pip *" = "ask";
|
||||
"pip3 *" = "ask";
|
||||
"yarn *" = "ask";
|
||||
"pnpm *" = "ask";
|
||||
"cargo *" = "ask";
|
||||
"go *" = "ask";
|
||||
"make *" = "ask";
|
||||
"dd *" = "deny";
|
||||
"mkfs*" = "deny";
|
||||
"fdisk *" = "deny";
|
||||
"parted *" = "deny";
|
||||
"eval *" = "deny";
|
||||
"source *" = "deny";
|
||||
"curl *|*sh" = "deny";
|
||||
"wget *|*sh" = "deny";
|
||||
"sudo *" = "deny";
|
||||
"su *" = "deny";
|
||||
"systemctl *" = "deny";
|
||||
"service *" = "deny";
|
||||
"shutdown *" = "deny";
|
||||
"reboot*" = "deny";
|
||||
"init *" = "deny";
|
||||
"> /dev/*" = "deny";
|
||||
"cat * > /dev/*" = "deny";
|
||||
};
|
||||
external_directory = "ask";
|
||||
doom_loop = "ask";
|
||||
};
|
||||
};
|
||||
librarian = {
|
||||
model = "anthropic/claude-sonnet-4-5";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
};
|
||||
explore = {
|
||||
model = "opencode/big-pickle";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
sisyphus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
oracle = {
|
||||
model = "anthropic/claude-sonnet-4-5";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
frontend-ui-ux-engineer = {
|
||||
model = "anthropic/claude-opus-4-5";
|
||||
permission = {
|
||||
edit = "allow";
|
||||
bash = {
|
||||
"*" = "ask";
|
||||
"npm *" = "ask";
|
||||
"npx *" = "ask";
|
||||
"bun *" = "ask";
|
||||
"bunx *" = "ask";
|
||||
"rm *" = "ask";
|
||||
"mv *" = "ask";
|
||||
"dd *" = "deny";
|
||||
"mkfs*" = "deny";
|
||||
"sudo *" = "deny";
|
||||
"curl *|*sh" = "deny";
|
||||
"wget *|*sh" = "deny";
|
||||
};
|
||||
};
|
||||
librarian = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
document-writer = {
|
||||
model = "anthropic/claude-opus-4-5";
|
||||
permission = {
|
||||
edit = "allow";
|
||||
bash = "deny";
|
||||
};
|
||||
explore = {
|
||||
model = "zai-coding-plan/glm-4.5-air";
|
||||
};
|
||||
multimodal-looker = {
|
||||
model = "anthropic/claude-opus-4-5";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
model = "zai-coding-plan/glm-4.6v";
|
||||
};
|
||||
prometheus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
metis = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
momus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
atlas = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
};
|
||||
categories = {
|
||||
visual-engineering = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
ultrabrain = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
artistry = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
quick = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
unspecified-low = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
unspecified-high = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
writing = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
};
|
||||
disabled_mcps = ["context7" "websearch"];
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
./coding.nix
|
||||
./fonts.nix
|
||||
./hyprland.nix
|
||||
./knowledge.nix
|
||||
./media.nix
|
||||
./office.nix
|
||||
./rofi.nix
|
||||
|
||||
@@ -29,7 +29,10 @@ in {
|
||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
"GTK_THEME,Dracula"
|
||||
"XDG_SESSION_TYPE,hyrland"
|
||||
"XDG_CURRENT_DESKTOP,Hyprland"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"XDG_SESSION_DESKTOP,Hyprland"
|
||||
"NIXOS_OZONE_WL,1"
|
||||
];
|
||||
|
||||
ecosystem = {
|
||||
|
||||
19
home/features/desktop/knowledge.nix
Normal file
19
home/features/desktop/knowledge.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
programs.obsidian = {
|
||||
enable = true;
|
||||
defaultSettings = {
|
||||
app = {
|
||||
safeMode = false;
|
||||
};
|
||||
corePlugins = [
|
||||
"daily-notes"
|
||||
"templates"
|
||||
"tag-pane"
|
||||
"outgoing-link"
|
||||
"backlink"
|
||||
"global-search"
|
||||
"quick-switcher"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -35,7 +35,7 @@ in {
|
||||
theme = let
|
||||
inherit (config.colorScheme) palette;
|
||||
in
|
||||
builtins.toString (pkgs.writeText "rofi-universal-theme.rasi" ''
|
||||
toString (pkgs.writeText "rofi-universal-theme.rasi" ''
|
||||
* {
|
||||
/* Universal theme colors from nix-colors */
|
||||
background: #${palette.base00};
|
||||
@@ -182,6 +182,10 @@ in {
|
||||
cli.rofi-project-opener = {
|
||||
enable = true;
|
||||
projectDirs = {
|
||||
AI = {
|
||||
path = "~/p/AI";
|
||||
args = "";
|
||||
};
|
||||
NIX = {
|
||||
path = "~/p/NIX";
|
||||
args = "";
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{config, ...}: {imports = [./home.nix ../common];}
|
||||
1
home/users/jannik.mueller/AZ-CLD-1.nix
Normal file
1
home/users/jannik.mueller/AZ-CLD-1.nix
Normal file
@@ -0,0 +1 @@
|
||||
{...}: {imports = [./home.nix ../../common];}
|
||||
1
home/users/jannik.mueller/AZ-PRM-1.nix
Normal file
1
home/users/jannik.mueller/AZ-PRM-1.nix
Normal file
@@ -0,0 +1 @@
|
||||
{...}: {imports = [./home.nix ../../common];}
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../common
|
||||
./home.nix
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
19
home/users/produktion/AZPIPRODUKTION01.nix
Normal file
19
home/users/produktion/AZPIPRODUKTION01.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
"WEBAPP_URL,http://192.168.152.98:4711/login/Fertigung"
|
||||
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||
"HYPRCURSOR_SIZE,32"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
];
|
||||
exec-once = [
|
||||
"chromium --app=$WEBAPP_URL"
|
||||
];
|
||||
monitor = [
|
||||
];
|
||||
};
|
||||
}
|
||||
19
home/users/produktion/AZPIPRODUKTION02.nix
Normal file
19
home/users/produktion/AZPIPRODUKTION02.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
"WEBAPP_URL,http://192.168.152.98:4711/login/Fertigung"
|
||||
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||
"HYPRCURSOR_SIZE,32"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
];
|
||||
exec-once = [
|
||||
"chromium --app=$WEBAPP_URL"
|
||||
];
|
||||
monitor = [
|
||||
];
|
||||
};
|
||||
}
|
||||
19
home/users/produktion/AZPIPRODUKTION03.nix
Normal file
19
home/users/produktion/AZPIPRODUKTION03.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
"WEBAPP_URL,http://192.168.152.98:4711/login/Fertigung"
|
||||
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||
"HYPRCURSOR_SIZE,32"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
];
|
||||
exec-once = [
|
||||
"chromium --app=$WEBAPP_URL"
|
||||
];
|
||||
monitor = [
|
||||
];
|
||||
};
|
||||
}
|
||||
19
home/users/produktion/AZPIPRODUKTION04.nix
Normal file
19
home/users/produktion/AZPIPRODUKTION04.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../../common
|
||||
../../common/pi-base.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
env = [
|
||||
"WEBAPP_URL,http://192.168.152.98:4711/login/Fertigung"
|
||||
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||
"HYPRCURSOR_SIZE,32"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
];
|
||||
exec-once = [
|
||||
"chromium --app=$WEBAPP_URL"
|
||||
];
|
||||
monitor = [
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./home.nix
|
||||
../common
|
||||
../features/cli/fish.nix
|
||||
../features/cli/fzf.nix
|
||||
../features/cli/nushell.nix
|
||||
../features/cli/starship.nix
|
||||
../../common
|
||||
../../features/cli/fish.nix
|
||||
../../features/cli/fzf.nix
|
||||
../../features/cli/nushell.nix
|
||||
../../features/cli/starship.nix
|
||||
];
|
||||
|
||||
programs.carapace = {
|
||||
@@ -8,11 +8,11 @@ with lib; let
|
||||
cfg = config.features.desktop.hyprland;
|
||||
in {
|
||||
imports = [
|
||||
../common
|
||||
../../common
|
||||
./home.nix
|
||||
../features/cli
|
||||
../features/coding
|
||||
../features/desktop
|
||||
../../features/cli
|
||||
../../features/coding
|
||||
../../features/desktop
|
||||
inputs.nix-colors.homeManagerModules.default
|
||||
];
|
||||
|
||||
@@ -114,6 +114,11 @@
|
||||
port = 2022;
|
||||
identityFile = "~/.ssh/sascha.koenig";
|
||||
};
|
||||
"code.m3ta.dev" = {
|
||||
hostname = "code.m3ta.dev";
|
||||
user = "m3tam3re";
|
||||
identityFile = "~/.ssh/sascha.koenig";
|
||||
};
|
||||
"AZ-CLD-1" = {
|
||||
hostname = "152.53.186.119";
|
||||
user = "sascha.koenig";
|
||||
Reference in New Issue
Block a user