Commit Graph

30 Commits

Author SHA1 Message Date
b65a4dbfcb
chore: remove pcie_aspm policy
Umm, this is a hard one as to why it was added in the first place. I think
someone had told me about it, but it seems like it's not really required, and
not recommended to be run on systems that do not support it by default.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-23 11:41:01 +05:30
57ced606da
chore: set buildGoModule to go-1.23 for netbird
New netbird version requires go-1.23, and the patch to make
buildGoModules default to 1.23 is not yet in unstable

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-23 11:38:09 +05:30
bd68ccda65
feat: add hyprland, gnome configurations and changes to default
* add gnome and hyprland base setup
* remove unused intel-ocl from graphics
* move xdg-portal configuration to desktop environments

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-23 11:34:09 +05:30
e3b7f53837
chore: make firefox changes
* remove gnome theme configuration
* allow firefox to use document fonts intead of system fonts

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-23 11:29:45 +05:30
003c30efa3
chore: update flake.lock
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 16:45:47 +05:30
dfd6c1d42b
chore: reorganize desktop environment configuration
Cleanup existing desktop environment configuration to allow adding more
desktop environments with shared configs.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 16:45:32 +05:30
66e7dab5aa
chore: update netbird to 0.29.4
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 15:06:11 +05:30
a6fc984ceb
fix: use ter-u28 as the tty font on initial boot
At least until this gets merged: https://github.com/NixOS/nixpkgs/pull/299456

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 15:03:02 +05:30
10c26f143d
fix: switch to the latest testing kernel on thonkpad
The new Intel Core Ultra does not work that well with older kernel versions
especially since the initial support was added in 6.8. Currently, the testing
kernel is much more stable that the latest package on this processor.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 15:01:29 +05:30
f2dcc81256
chore: remove intel video driver from xserver
Seems to be not required for the current setup.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 14:59:32 +05:30
49d65b9cb4
chore: cleanup thonkpad and use mesa git from chaotic/nyx
Trying out the experimental mesa drivers for the latest Intel Xe support on Wayland

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 14:58:24 +05:30
25ecb1c367
chore: pin nix to 2.23
A security issue currently plagues nix_git package, along with some other issues cropping up
in the newer versions. So we'll stick to the last stable, bug-free nix version for a while.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 14:56:53 +05:30
11b0bf7522
fix: spell paperless environment variable correctly
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-15 11:22:36 +05:30
6e4c5f741b
chore: update flake lock
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-15 11:22:23 +05:30
a2991e9ca8
chore: pass websocket connections to paperless
This is required for the document upload processing to successfully run.
Without this enabled, the document upload gets stuck on:

Upload complete, waiting...

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-04 02:15:28 +05:30
abdeb98f11
chore: change filename format for paperless
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-03 01:53:38 +05:30
381924aee1
feat: upgrade from thinkpad x1 9th-gen to 12th-gen
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 20:51:39 +05:30
37a10b7fe2
chore: remove unused iproute2 from netbird
Yet another failed experiment to check why netbird fails to connect after
suspending the system. Turns out none of this was needed after all.

All that was needed was to stop systemd from managing foreign routing policy
rules:

systemd.network.config.networkConfig.ManageForeignRoutingPolicyRules = false;

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 20:48:47 +05:30
b6931cbb9b
chore: remove profile sync daemon
Since we've moved to firefox profiles managed by nix, declaratively,
we do not need profile sync daemon.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 20:47:33 +05:30
8f4c7fe4cc
feat: add modules to bicboye
* change interface name from `enp6s0` to `enp2s0`
* add arr suite + ntfy deployment, monitoring
* add keys for ssh access
* add default_server configuration to nginx for security

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:19:09 +05:30
7520c9a86d
fix: use correct ssh domain and port for gitea
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:18:38 +05:30
e6b20e5def
feat: refactor unifi-controller, add unifi-unpoller for monitoring
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:17:56 +05:30
f433953ebd
feat: add monitoring module for infrastructure
* VictoriaMetrics for polling/collecting metrics
* Grafana for UI
* Multiple prometheus-exporter modules for gathering data

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:16:01 +05:30
3408ceb62c
feat: add nix module for arr suite
Can finally deploy:
* Jellyfin
* Jellyseerr
* Radarr, Prowlarr, Sonarr, Bazarr
* QBitTorrent + VueTorrent

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:14:35 +05:30
73cd391baf
chore: rekey agenix secrets, add grafana and unifi-unpoller
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:13:18 +05:30
711c1f9821
chore: use terminus for console font and remove kernel param
* Lat2-Terminus16 looks nice, not sure why I replaced it.
* Remove `udev.log_level=3` from the kernel param cmdline. This option
was added to test out plymouth on boot, which surprisingly seems to not
be working right now. Will revisit this later.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:09:28 +05:30
ef02b8168d
feat: setup bicboye server on new hardware
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:08:33 +05:30
796368d3df
fix: remove autodefrag from btrfs subvolumes
BTRFS subvolumes do not require autodefrag, and it's not recommended for
the filesystem.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:07:11 +05:30
3ee3a05d61
chore: allow docker to use iptables
Had been removed to debug issues with netbird connectivity after suspend.
Can be added back since the issue is unrelated.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 19:05:15 +05:30
3a3a8afe30
feat: add nixos configuration based on snowfall-lib
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 18:31:19 +05:30