Compare commits

..

4 Commits

Author SHA1 Message Date
3ed6781ae1 chore: enable zen-browser flake on all devices
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
2026-02-24 11:11:11 +05:30
3418e577c5 docs(AGENTS.md): update build & deploy commands and example IP 2026-02-24 10:29:37 +05:30
2741e25585 feat: enable stuff
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m23s
2026-02-23 18:42:31 +05:30
e9aed100af Merge pull request 'feat: add matrix-rtc' (#1) from matrix-rtc into master
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s
Reviewed-on: #1
2026-02-23 19:42:06 +08:00
4 changed files with 37 additions and 40 deletions

View File

@@ -4,28 +4,8 @@ This repository contains NixOS, nix-darwin, and Home Manager configurations in N
## Build, Test, and Deployment Commands ## Build, Test, and Deployment Commands
### Build and Apply Configurations ### Build and Apply Configurations & Deploy to Remote Machines
Can use deploy for both local and remote hosts
**Linux (NixOS):**
```bash
just build # Build configuration
just install cores='32' # Apply with 32 cores
sudo nixos-rebuild test --fast --flake . # Test without activation
sudo nixos-rebuild switch --rollback --flake . # Rollback
```
**macOS (nix-darwin):**
```bash
just build # Build configuration
just install # Apply configuration
```
**Home Manager:**
```bash
just home
```
### Deploy to Remote Machines (deploy-rs)
```bash ```bash
deploy -s .#ryu # Desktop (x86_64-linux) deploy -s .#ryu # Desktop (x86_64-linux)
@@ -35,6 +15,23 @@ deploy -s .#kuro # MacBook M4 Pro (aarch64-darwin)
deploy -s .#shiro # Mac Mini M4 (aarch64-darwin) deploy -s .#shiro # Mac Mini M4 (aarch64-darwin)
``` ```
**Linux (NixOS):**
```bash
deploy -s .#ryu
deploy -s .#tako
deploy -s .#tako --builders '' --cores 32 # with no other builders and 32 cores
deploy -s .#ryu --max-jobs 4 --cores 32 # use 32 cores and 4 parallel derivations
sudo nixos-rebuild test --fast --flake . # Test without activation
sudo nixos-rebuild switch --rollback --flake . # Rollback
```
**macOS (nix-darwin):**
```bash
deploy -s .#kuro
deploy -s .#shiro
sudo nix-darwin test --fast --flake .
```
### Validation and Formatting ### Validation and Formatting
```bash ```bash
@@ -164,7 +161,7 @@ just add program myprogram # Creates home/programs/myprogram.nix and adds impor
### Adding a new dns entry ### Adding a new dns entry
```bash ```bash
cfcli add --type A foobar.bazbar.biz 192.168.0.1 cfcli add --type A foobar.bazbar.biz 100.102.64.19
``` ```
### Creating a Module ### Creating a Module

View File

@@ -9,7 +9,7 @@
inputs.zen-browser.homeModules.beta inputs.zen-browser.homeModules.beta
]; ];
programs.zen-browser = { programs.zen-browser = {
enable = device.isLinux; enable = true;
profiles.default = { profiles.default = {
containersForce = true; containersForce = true;
containers = { containers = {

View File

@@ -21,9 +21,9 @@
# ./headscale.nix # ./headscale.nix
./immich.nix ./immich.nix
./kellnr.nix ./kellnr.nix
# ./llms.nix ./llms.nix
./matrix ./matrix
# ./monitoring.nix ./monitoring.nix
# ./paperless.nix # ./paperless.nix
./prowlarr.nix ./prowlarr.nix
# ./searxng.nix # ./searxng.nix

View File

@@ -198,19 +198,19 @@
reverse_proxy localhost:${builtins.toString config.services.homepage-dashboard.listenPort} reverse_proxy localhost:${builtins.toString config.services.homepage-dashboard.listenPort}
''; '';
}; };
# authelia = { authelia = {
# instances.darksailor = { instances.darksailor = {
# settings = { settings = {
# access_control = { access_control = {
# rules = [ rules = [
# { {
# domain = "dashboard.darksailor.dev"; domain = "dashboard.darksailor.dev";
# policy = "one_factor"; policy = "one_factor";
# } }
# ]; ];
# }; };
# }; };
# }; };
# }; };
}; };
} }