Commit Graph

754 Commits

Author SHA1 Message Date
Giulio De Pasquale
82c3dd24b3 Revert "hello"
This reverts commit 19a029156c.
2024-12-06 17:40:02 +00:00
Giulio De Pasquale
19a029156c hello 2024-12-06 17:39:54 +00:00
Giulio De Pasquale
586529e23d Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos 2024-12-06 17:34:41 +00:00
5a95a015e8 Update roles/home/scripts/commits.sh 2024-12-06 12:03:58 +00:00
Giulio De Pasquale
4ecc45a4bd feat(git.nix): add ais alias for staged diffs
- Introduced `ais` alias to generate commit messages from staged diffs using `aichat`
- The alias runs `git diff --staged HEAD` and pipes the output to `aichat` with the specified model and request type
2024-12-06 12:02:35 +00:00
5ebc68ad80 fix(create_pr_from_files): improved robustness che prima faceva schifo 2024-12-05 15:02:19 +00:00
d91b3bc9a9 scripts(zsh): update create_pr_from_files 2024-12-04 16:13:24 +00:00
91d7bcbab1 Update roles/home/scripts/commits.sh 2024-12-04 11:34:05 +00:00
b0080ad5e9 Update roles/home/aichat/roles/commitmessage.md 2024-11-26 12:55:41 +00:00
Giulio De Pasquale
adea686a35 bump: flake bump 2024-11-24 00:14:58 +00:00
Giulio De Pasquale
6ecb3ff1d0 fix(flake): update teslamate-flake to v1.32.0 2024-11-24 00:14:53 +00:00
Giulio De Pasquale
3b28f09e04 Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos 2024-11-18 20:02:51 +00:00
Giulio De Pasquale
b4e03a9dc2 feat: bump to 24.11 2024-11-18 19:58:44 +00:00
Giulio De Pasquale
9abf353f88 fix(nix): update stateVersion and remove adb plugin
- Updated `stateVersion` to "24.11"
- Removed `adb` from the list of oh-my-zsh plugins in `zsh.nix`
2024-11-18 19:58:32 +00:00
Giulio De Pasquale
1630bfb8fb fix(sunshine.nix): update CUDA package and disable pulseaudio
- Updated `cudaPackages` to `pkgs.cudaPackages_12_3`
- Changed `boost` version from `pkgs.unstablePkgs.boost186` to `pkgs.boost186`
- Disabled `pulseaudio.enable` and removed redundant `sound.enable`
2024-11-18 19:58:12 +00:00
Giulio De Pasquale
cc77cab961 feat(architect/redlib.nix): add configuration for redlib service
- Added `redlib` systemd service environment variables and settings
- Enabled `redlib` service with specified port and package
- Configured virtual host for `reddit.giugl.io` to forward requests to the `redlib` service
2024-11-18 19:57:49 +00:00
Giulio De Pasquale
949b5f8f21 refactor(headscale.nix): update settings structure and add comments
- Updated `dns_config` to `dns` and adjusted nested fields accordingly.
- Commented out default log level and base domain for clarity.
- Changed `ip_prefixes` to `prefixes.v4` to match expected configuration format.
2024-11-18 19:57:06 +00:00
Giulio De Pasquale
2b17b0b463 refactor(architect/llm.nix): simplify and clean up configuration
- Removed unused frontend domain, port, and listen address variables
- Centralized `ollamaHost` and `ollamaPort` usage
- Cleaned up commented-out sections for future reference or removal
- Ensured consistent placement of `acceleration` in the `services.ollama` block
2024-11-18 19:56:48 +00:00
36c8e99d7e Update roles/home/helix.nix 2024-11-18 11:41:55 +00:00
45971753fd Update roles/home/aichat/roles/commitmessage.md 2024-11-18 10:59:52 +00:00
ad180a2890 Update roles/home/aichat/roles/commitmessage.md 2024-11-18 10:56:59 +00:00
Giulio De Pasquale
47495b845a chore: formatting TOML files 2024-11-17 20:52:45 +00:00
Giulio De Pasquale
49913ef5e8 feat(home/helix): add taplo to the list of packages 2024-11-17 20:52:27 +00:00
Giulio De Pasquale
bd130216e8 chore: update lock 2024-11-17 20:31:50 +00:00
Giulio De Pasquale
5c7bbda59e feat(flake): add TeslaMate flake and import NixOS module
- Added `teslamate-flake` input to the flake configuration
- Imported TeslaMate's NixOS module in the system configuration
- Updated function signatures to remove unused `system` parameter where applicable
2024-11-17 20:31:45 +00:00
Giulio De Pasquale
38644cc57f feat(architect/options.nix): add recommendedProxySettings option
- Introduced `recommendedProxySettings` to force the use of recommended proxy configuration.
- Updated location configuration to include `recommendedProxySettings`.
2024-11-17 20:31:13 +00:00
Giulio De Pasquale
5d090a32bd fix(headscale.nix): update domain and package reference
- Updated `domain` to use a single string "vipienne.giugl.io"
- Changed `headscalePkg` to use the stable `pkgs.headscale` instead of `pkgs.unstablePkgs.headscale`
- Corrected `base_domain` in `dns_config` to use the updated `domain` variable
2024-11-17 20:30:42 +00:00
Giulio De Pasquale
15448ebc67 fix(nextcloud.nix): update Nextcloud package to version 30 2024-11-17 20:30:21 +00:00
Giulio De Pasquale
4cbf34f0bf feat(architect/default.nix): add teslamate and postgres services 2024-11-17 20:30:11 +00:00
Giulio De Pasquale
48f370d9a4 refactor(architect/llm.nix): comment out frontend vhost and container configurations
- Commented out the `frontendDomain` vhost configuration
- Updated backend port to use `ollamaPort`
- Added `recommendedProxySettings = false;` for backend vhost
- Commented out the entire OCI containers section for `ollama-webui`
2024-11-17 20:29:57 +00:00
Giulio De Pasquale
2602da324e refactor(matrix.nix): remove unused PostgreSQL configuration
- Removed the commented-out and unused `postgresql` service configuration from `matrix.nix`.
2024-11-17 20:29:37 +00:00
Giulio De Pasquale
3dc81c6c49 fix(nginx.nix): enable recommended proxy settings
- Enabled `recommendedProxySettings` in the Nginx configuration
2024-11-17 20:29:23 +00:00
Giulio De Pasquale
9f01055530 fix(postgres.nix): update configuration path to use services.postgresql
- Changed the configuration path from `postgresql` to `services.postgresql` for consistency and correctness.
2024-11-17 20:29:10 +00:00
Giulio De Pasquale
2dc8e1b1a3 factor(teslamate.nix): update domain, ports, and service configuration
- Updated domain to `tesla.giugl.io`
- Added separate ports for TeslaMate (`11234`) and Grafana (`11334`)
- Configured proxy settings for websockets in `/` and `/live/websocket` locations
- Added `/grafana` location with appropriate configuration
- Updated `services.teslamate` to include port, listen address, secrets file, virtual host, PostgreSQL server, and Grafana settings
2024-11-17 20:28:53 +00:00
Giulio De Pasquale
23ee309b8f refactor(home/aichat): update configuration and roles handling
- Removed inline `config` and `roles` definitions
- Used `lib.readFile` to load external files for configuration and roles
- Organized role files into separate markdown documents
2024-11-17 20:28:08 +00:00
Giulio De Pasquale
8b467e073e chore(commits.sh): remove unnecessary trailing newlines
- Removed two trailing newline characters at the end of the file
2024-11-17 20:16:14 +00:00
Giulio De Pasquale
227c289967 fix(home/zsh.nix): correct path for commitFunctions
- Updated the path to correctly place `commits.sh` inside the `bin` directory
2024-11-17 20:16:01 +00:00
Giulio De Pasquale
58e2b8dab7 feat(home/git.nix): enable Git LFS and add aliases
- Enabled Git Large File Storage (LFS)
- Added `ai` alias to generate diff with AI chat
2024-11-17 20:15:47 +00:00
Giulio De Pasquale
72167fd861 refactor(config.yaml): update client configuration for openai-compatible
- Updated `type` to `openai-compatible`
- Added `name` field for clarity
- Adjusted `api_base` URL to include `/v1`
- Simplified and updated model configurations for consistency
2024-11-17 20:15:18 +00:00
Giulio De Pasquale
bd9329a9ed Add files 2024-11-17 20:10:06 +00:00
Giulio De Pasquale
251d38d411 Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos 2024-11-17 14:17:56 +00:00
Giulio De Pasquale
d9e6d1acd4 feat: load helix files from files 2024-11-17 14:15:29 +00:00
Giulio De Pasquale
71f4de2804 feat: teslamate 2024-11-16 13:19:23 +00:00
2db9c318a1 Update roles/home/zsh.nix 2024-11-14 11:17:26 +00:00
Giulio De Pasquale
60eccadaa8 Stabilize sunshine 2024-10-31 12:48:45 +00:00
Giulio De Pasquale
f7f1da25ed refactor: use sunshine service 2024-10-31 08:33:56 +00:00
e084734e4a Update roles/home/helix.nix 2024-10-08 12:27:27 +01:00
a24e261521 Update roles/home/helix.nix 2024-10-08 12:21:12 +01:00
Giulio De Pasquale
2487717aaf fix(ollama): DNS resolution in LAN 2024-10-07 13:05:45 +01:00
Giulio De Pasquale
777e32601d Update lock 2024-10-07 12:58:01 +01:00