Commit Graph

257 Commits

Author SHA1 Message Date
Sam 5a8a30e053 add earlyoom to citadel and reduce swap 2025-01-10 10:31:55 +00:00
Sam 60f55565bc Update earlyoom settings in default.nix
- Add earlyoom configuration to hosts/semita/default.nix
  - Enable earlyoom to activate when system RAM drops below 5% free
2025-01-10 10:10:57 +00:00
Sam 53fe037aaf Update nix-secrets and arrstack configuration
- Update `flake.lock` with new `nix-secrets` revision
- Modify `arrstack.nix`:
  - Change secret paths for OpenVPN credentials
  - Add new ports and capabilities for gluetun service
  - Add qbittorrent service with environment variables
  - Rename project from jellyfin to arrstack
- Update `jellyfin.nix` to set container name
- Include `jellyfin.nix` and `arrstack.nix` in `default.nix`
- Adjust GDK scaling variables in `default.nix` for better display
- Improve `justfile`:
  - Pull latest changes before editing SOPS file
  - Use timestamped commit messages for auto-commits
2025-01-10 09:07:36 +00:00
Sam 000409e402 fix sops-nix issue with not creating secrets dir
- caused by inclusion of dbt_profiles path in template
2025-01-09 17:34:00 +00:00
Sam afb138aa94 fix nixos upgrade warnings
- upgrade to 24.11
2025-01-09 17:33:08 +00:00
Sam e62f2e67ac fix distributed setup local 2025-01-08 20:02:59 +00:00
Sam 2aabbdf5cf fix distributed setup local 2025-01-08 20:00:36 +00:00
Sam a58b62baa6 fix distributed setup local 2025-01-08 19:29:33 +00:00
Sam a22552088c fix distributed setup local 2025-01-08 19:25:16 +00:00
Sam d1675f0dd8 Update XDG config and distributed builds settings
- Add mimeapps.list creation for KDE desktops in default.nix
- Modify distributed builds settings for local-machine.nix
- Update supportedFeatures and add speedFactor, maxJobs in local-machine.nix.
2025-01-08 18:41:58 +00:00
Sam 00c79f239d small modifications to deal with nixos 24.11 build 2025-01-08 18:41:24 +00:00
Sam 6d9c8f18d5 Merge branch 'master' of git.bitlab21.com:sam/nixos 2025-01-08 13:37:37 +00:00
Sam 4a8da2cfd7 small modifications to deal with nixos 24.11 build 2025-01-08 13:37:35 +00:00
Sam 8b88976e02 fix distributed user setup in remote machine 2025-01-08 13:30:48 +00:00
Sam bfe2079b25 update nixos flake to 24.11 2025-01-08 13:02:55 +00:00
Sam 1e7af5c096 remote unnecessary stuff 2025-01-08 12:18:24 +00:00
Sam 777ad73ed7 distributed builds fix public ssh keys 2025-01-08 12:15:11 +00:00
Sam b5f95e60ee distributed builds 2025-01-08 11:59:40 +00:00
Sam 885ffb003a Update LNBits version and modify desktop entries
- Update LNBits version to v0.12.12 in flake.lock and flake.nix
- Modify desktop entries for Zathura, Nsxiv-wrapper, Nvim-wrapper, and Mpv-wrapper in default.nix
- Add arrstack.nix and Restic backups for Jellyfin configuration
2025-01-07 16:35:16 +00:00
Sam 8f1e6bc630 Add xdg desktop entries and update scripts
- Add xdg desktop entries for Firefox, Zathura, Nsxiv-wrapper, Nvim-wrapper, and Mpv-wrapper
- Update clipboard-recall and get-focused-monitor scripts to use xorg.xrandr and xdotool
- Include restic-backup.nix and enable fuse.userAllowOther in citadel configuration.
2025-01-06 19:05:20 +00:00
Sam a12c1d3469 add backups to semita, sam and nix-bitcoin 2025-01-04 17:20:30 +00:00
Sam 2821aa4c27 remove xone driver from gaming due to build failure 2025-01-04 17:19:47 +00:00
Sam 865af0fc66 add restic-backup and backup-server configs 2025-01-04 17:19:19 +00:00
Sam 3c63ba7618 Update nix-bitcoin container configuration and Semita host settings
- Remove redundant bitcoin secret variables and bind mounts in nix-bitcoin.nix
- Consolidate var/lib bind mounts into a single mount point for simplicity
- Enable daily backups and add AUTH_ALLOWED_METHODS in nix-bitcoin.nix, enable fuse.userAllowOther in default.nix.
2024-12-29 15:44:44 +00:00
Sam b3df1841d7 Update LNBits environment variables for LndRestWallet 2024-12-29 10:25:09 +00:00
Sam 4addeb3fba Update flake.lock and flake.nix with new inputs and configurations
- Add new inputs: `lnbits`
- Modify `nix-bitcoin.nix` to include `lnbits` module
2024-12-28 16:08:23 +00:00
Sam eaebfcaeb4 Add dbt profiles configuration and update baseddata-worker
- Add 'dbt_profiles.nix' file to configure dbt profiles for baseddata
- Update 'baseddata-worker.nix' to import dbt profiles and modify environment variables
- Remove dbt profiles configuration from user-specific default.nix for sam
2024-12-28 10:07:25 +00:00
Sam 0933a79508 Enable power saving features for Citadel host 2024-11-26 20:26:54 +00:00
Sam 37210af3b9 Add Kodi package and refactor power savings configuration
- Add Kodi package to Citadel's home manager configuration
- Remove power savings configuration from Citadel's default configuration
- Create new optional powersave configuration file for common hosts
2024-11-26 20:25:11 +00:00
Sam eb2873eb3a open port 53 for podman dns resolving 2024-11-26 20:03:53 +00:00
Sam ca867d32e6 delete nixos jellyfin container 2024-11-26 20:03:33 +00:00
Sam 61eb42235d add arion jellyfin container 2024-11-26 20:03:18 +00:00
Sam 343d6f21e3 modify semita imports 2024-11-26 20:01:55 +00:00
Sam a9578cc0de remove mongodb container 2024-11-26 20:01:21 +00:00
Sam 7c854cb4f4 Merge branch 'master' of git.bitlab21.com:sam/nixos 2024-11-26 15:11:24 +00:00
Sam ab4c5dc96f Update NixVim keymaps and TLP battery thresholds
- Modify NixVim keymaps for moving selected lines in visual mode
- Enable and configure TLP service with updated battery charge thresholds
- Adjust CPU scaling governors for both AC and battery power sources
2024-11-24 21:10:41 +00:00
Sam a2d9828287 Update Telescope command and modify NixOS configurations
- Update Telescope command in `telescope.nix` to use `grep_string`
- Add `cpupower` and `lm_sensors` to `systemPackages` in `citadel/default.nix'
- Enable power management for NVIDIA in `citadel/default.nix` and clean up udev rules formatting
2024-11-18 19:04:13 +00:00
Sam ceeb920d5a Merge branch 'master' of git.bitlab21.com:sam/nixos 2024-11-17 14:46:53 +00:00
Sam 2ef417b6b1 Update NVIDIA configuration and add cpupower package
- Enable nvidiaPersistenced and add udev rules for NVIDIA devices in citadel/default.nix
- Add boot.extraModprobeConfig for NVreg_DynamicPowerManagement and NVreg_EnableGpuFirmware
- Include the cpupower package in common/core/default.nix
2024-11-13 12:09:17 +00:00
Sam c85215b5b4 add throttled to citadel 2024-11-12 21:18:21 +00:00
Sam d224d55c1a add nvidia and prime to citadel 2024-11-12 19:41:27 +00:00
Sam 27bf6b2fb6 Update Prefect variables and serve flows 2024-11-07 15:43:34 +00:00
Sam 86c59bb27b Add Gajim to default packages and new Prefect variable
- Add `pkgs.gajim` to the list of default packages in `default.nix`
- Introduce a new Prefect variable `wdpa_dir` in `baseddata-worker.nix`
- Set the value of `wdpa_dir` to `/media/baseddata-data/wdpa
2024-11-06 16:33:28 +00:00
Sam a95ac4ef25 Update default.nix and dwm.nix with new packages and revisions
- Add pkgs.gimp to default.nix
- Update dwm.nix with new revision and sha256
2024-11-05 15:19:32 +00:00
Sam 4d0335d99a Merge branch 'master' of git.bitlab21.com:sam/nixos 2024-11-03 21:27:10 +00:00
Sam ec7f879c6d Add Krita and update DWM source
- Add Krita to the default.nix package list
- Update DWM source URL and revision in dwm.nix
- Modify DWM source SHA256 checksum in dwm.nix
2024-11-03 21:27:07 +00:00
Sam 2c44487796 Add swap devices and update Prefect variables
- Add swap devices configuration to citadel and semita hosts
- Update Prefect variable for OSM directory in baseddata-worker
- Set swap device size to 32*1024 for both citadel and semita hosts
2024-11-03 21:03:12 +00:00
Sam 45ee82da0e Add glow plugin and update prefect variable
- Add 'pkgs.glow' to 'default.nix'
- Add and configure 'glow.nvim' plugin in 'plugins/default.nix'
- Update 'postgres_dbname' variable to 'baseddata' in 'baseddata-worker.nix'
2024-11-02 14:00:30 +00:00
Sam 7be587d7b1 Update Postgres configuration and remove system packages
- Update Postgres configuration for dev and prod environments:
  - Change dbname from `dev_baseddata_models` to `dev_baseddata` and `baseddata_models` to `baseddata`
  - Replace host variable with `${baseddataPostgresIp}`
  - Update user and password placeholders to new paths
- Remove `environment.systemPackages` configuration
2024-11-01 22:17:24 +00:00
Sam 7cffeffca9 Add bitcoind configuration and prefect variables
- Add bitcoind IP and port configuration variables
- Update prefect variables for bitcoind ip and port
- Maintain existing configurations for other services
2024-10-25 10:31:52 +01:00