Commit graph

149 commits

Author SHA1 Message Date
Harald Hoyer ac082f77b0 feat(coturn): set owner and add restart units for secrets
Ensure the coturn static-auth-secret has the correct owner and specifies restart units. This enhances security by assigning ownership and improves reliability by ensuring relevant units restart when secrets change.
2024-09-17 10:30:12 +02:00
Harald Hoyer 212070241a refactor: update coturn.yaml structure
Moved static-auth-secret under new 'coturn' key. Updated lastmodified timestamp and mac value accordingly.
2024-09-17 10:21:56 +02:00
Harald Hoyer da780be326 fix(coturn): correct attribute names and import configuration
Change 'coturn' to 'services.coturn' and renamed 'hostname' to 'hostName'. Added 'coturn.nix' to the default imports in the main configuration file.
2024-09-17 10:19:55 +02:00
Harald Hoyer c894294ce3 feat(coturn): introduce coturn configuration
Add coturn service definition for x86_64-linux systems with static-auth-secret and additional settings for Nextcloud integration. Includes secrets management via `sops` and secure TLS configurations.
2024-09-17 10:14:33 +02:00
Harald Hoyer f4c89c2adf feat(gui): add support for Intel media driver and Wayland tweaks
Enabled Intel media driver support and set environment variables for better compatibility with Wayland. Also updated MPV configuration for hardware decoding and GPU settings.
2024-09-17 10:13:07 +02:00
Harald Hoyer 66ed38df82 feat(gui): enable OpenGL with additional packages
Move and enhance OpenGL configuration in GUI services. The configuration now includes onevpl-intel-gpu and retains intel-compute-runtime from base services.
2024-09-16 10:22:32 +02:00
Harald Hoyer d7a5993121 feat(git): Add SSL CA info configuration
Configured Git to use the system's CA certificates for SSL verification. This ensures secure connections to remote repositories.
2024-09-04 13:37:01 +02:00
Harald Hoyer 3280781536 feat(git): configure custom SSL CA certificate for HTTP
Added an HTTP SSL CA certificate configuration to enhance security and ensure trusted connections. This change sets the CA certificate file path to '/etc/ssl/certs/ca-certificates.crt'.
2024-09-04 13:23:08 +02:00
Harald Hoyer bcf049144c feat(nixos/services): add qemu-system-x86_64-uefi script
Added a custom shell script for qemu-system-x86_64 enabling UEFI support using OVMF. This ensures that the command uses the specified OVMF firmware for UEFI boot.
2024-09-04 13:23:01 +02:00
Harald Hoyer 85a03f633a feat(x86_64-linux): add user to dialout group
Updated configurations for x1 and t15 to include 'dialout' in user.extraGroups. This change allows users to access serial devices.
2024-08-28 14:42:09 +02:00
Harald Hoyer 4c614b60a1 feat(gui-services): update and organize systemPackages
Add chromium and rustup to systemPackages, and move pcsctools and yubikey-personalization entries. Introduce environment session variable NIXOS_OZONE_WL for better Wayland support.
2024-08-28 14:33:13 +02:00
Harald Hoyer c242a21798 feat(nixos): remove cleanOnBoot option for tmp
The `boot.tmp.cleanOnBoot` option was removed, because it was already enabled.
2024-08-26 10:19:09 +02:00
Harald Hoyer 15963f0554 feat: enable discard support for LUKS devices
Updated LUKS device configurations to include allowDiscards option. This allows the system to send discard/TRIM commands to LUKS devices for better performance.
2024-08-26 10:14:18 +02:00
Harald Hoyer 4c100acb27 fix: remove extraneous newlines in hardware-configuration.nix
Removed unnecessary blank lines to improve readability and maintain consistency with the formatting guidelines. This change does not impact functionality but cleans up the code.
2024-08-26 10:14:03 +02:00
Harald Hoyer 7abbe7474f feat(services): enable tmpfs and fstrim services
Enable temporary file storage on tmpfs and configure TMPDIR for the nix-daemon. Also, ensure temporary files are cleaned on boot and enable fstrim service for filesystem maintenance.
2024-08-26 10:13:28 +02:00
Harald Hoyer 0cae58b515 feat: use latest kernel packages
Added configuration to use the latest kernel packages for boot. This change ensures the system benefits from the most recent updates and security patches.
2024-08-08 09:59:42 +02:00
Harald Hoyer 7775fd266d fix: correct syntax error in resolved extraConfig
The extraConfig for resolved had an incorrect semicolon causing configuration issues. This change removes the semicolon to ensure proper configuration loading.
2024-08-06 09:07:40 +02:00
Harald Hoyer 31323f340f refactor: streamline kernel boot parameters
Remove insecure and redundant kernel boot options. This enhancement improves system security by defaulting to standard mitigations and settings.
2024-08-03 16:15:21 +02:00
Harald Hoyer cd69324e48 feat: add Syncthing ports configuration
Added TCP and UDP ports for Syncthing to the firewall configuration. Configured Syncthing GUI to listen on all addresses at port 8384.
2024-08-03 15:58:30 +02:00
Harald Hoyer 7b7cebb658 feat: enable Syncthing service on fileserver
Enabled the Syncthing service in the fileserver configuration. Set the user to 'harald' and specified directories for data and configuration.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-08-03 15:53:37 +02:00
Harald Hoyer 5bbd996207 fix: correct xserver keyboard variant configuration
Changed the keyboard variant configuration in xserver to include a trailing comma. This ensures the variant setting is correctly parsed by the xserver.
2024-08-01 11:18:00 +02:00
Harald Hoyer d8ab5afa22 fix(hardware-config): correct closing bracket indentation
Corrected the indentation of the closing bracket in the hardware configuration. This improves readability and consistency in the code format.
2024-07-25 13:53:52 +02:00
Harald Hoyer 20f610b628 feat: add extraConfig for systemd-resolved
Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section.
2024-07-25 13:53:45 +02:00
Harald Hoyer 629c69f028 fix: correct indentation in systemPackages list
The alacritty package entry was misaligned in the list of systemPackages. This fix ensures consistent indentation for better readability and maintainability.
2024-07-25 13:53:32 +02:00
Harald Hoyer 7ae6907c2d feat: Move alacritty from tools to systemPackages
This commit shifts the Alacritty terminal emulator from "tools" within the user-level configuration to "systemPackages" under the base services configuration. This change allows global access to Alacritty across the system.
2024-07-19 13:53:33 +02:00
Harald Hoyer 5b7249a7e3 chore: Update darwin-rebuild command in README
Replace the old command with an updated one in the README.md file, removing the `--use-remote-sudo` option. This should help users to effectively utilize the 'darwin-rebuild' functionality accurately.
2024-07-19 13:39:45 +02:00
Harald Hoyer c42a15d235 feat: Enable alacritty in default.nix
Alacritty was previously commented out in default.nix configuration. This update has ensured it is now enabled.
2024-07-19 13:37:17 +02:00
Harald Hoyer 037bb4d88f feat: Update user configuration in default.nix
This commit comments out several configurations in the user's default.nix on harald@mpro. Namely, it disables the sessionPath, home-manager, and alacritty, establishing a new setup for future use.
2024-07-19 13:28:45 +02:00
Harald Hoyer b14804bbf8 feat(darwin suites): enable base in default.nix
This commit enables the 'base' edition in the default.nix configuration file within the Darwin suites module. This update provides the necessary settings for the base installation, enhancing the flexibility of system setup.
2024-07-19 13:28:14 +02:00
Harald Hoyer 5d9518fd1c feat: Add new base service config for Darwin system
This commit introduces a new base configuration for the Darwin service. It includes options for system packages, shell programs and security features. This base configuration is customizable with an enable option.
2024-07-19 13:28:03 +02:00
Harald Hoyer 9131236f36 docs: update command syntax in README.md
Replace `❯` prompt symbol with `$` for clarity and consistency. Add additional command for Darwin. Remove outdated `command-not-found` section. Update nix and ssh command syntax for better readability and usage.
2024-07-19 12:19:43 +02:00
Harald Hoyer 8202390990 feat: switch to stable nix package in darwin module
This commit modifies the `nix` configuration in the `darwin` module, changing from the unstable `nix` package use to the stable version. This change is intended to improve stability and reliability of the module.
2024-07-19 12:19:28 +02:00
Harald Hoyer 8feaad40a1 refactor: rename 'fonts' to 'packages' in darwin module
This commit renames the 'fonts' array in the darwin system fonts module to 'packages'. The refactor is aimed at improving the code readability and making the name more descriptive and representative of its content.
2024-07-19 12:19:18 +02:00
Harald Hoyer d44ef254fa feat: update allowed TCP port in sgx network configuration
This commit updates the allowed TCP port for networking in the SGX configuration file. Instead of hardcoding the port number, it now uses the port specified in the netatalk configuration. This change enables more flexibility in port assignment and reduces potential conflicts.
2024-07-19 11:45:38 +02:00
Harald Hoyer 5615b246b6 feat: Modify keyboard layout in x86_64-linux hardware configuration
The configuration update for the x86_64-linux t15 hardware adds a US layout variant to the existing German keyboard configuration. This change will allow switching between US and German keyboard layouts as per user requirements.
2024-07-19 11:45:24 +02:00
Harald Hoyer 9cfed3495b feat: Add autohide-battery extension and adjust xkb layout path
This commit adds the `autohide-battery@sitnik.ru` extension to the home configurations of `harald@t15` and `harald@x1`. It also adjusts the path of the `xkb.layout` setting in the GUI service's configuration. Furthermore, the `sound-output-device-chooser` extension has been removed.
2024-07-18 10:47:01 +02:00
Harald Hoyer 4833e141b6 feat: add new GNOME extensions to gui module
This commit adds three new GNOME extensions to the gui module in the NixOS service. Specifically, 'gnome-browser-connector', 'autohide-battery', and 'sound-output-device-chooser' were added. This update is intended to enhance the system's user experience.
2024-07-18 10:29:38 +02:00
Harald Hoyer fc478e4639 refactor: Update xserver keymap configuration in hardware configuration file
This commit updates the hardware configuration file for the x86_64-linux system. Specifically, it modifies the xserver keymap settings, ensuring proper keymap configuration for 'de' layout with 'nodeadkeys' variant in the x86_64-linux system.
2024-07-18 10:15:45 +02:00
Harald Hoyer 96e66ebad4 feat: Add several boot options in hardware config
Multiple boot options have been added in the hardware-configuration for the x86_64-linux system. This includes unsafe secrets mitigation options, such as 'noibrs', 'noibpb', 'nopti', etc., to potentially enhance system performance.
2024-07-18 10:06:41 +02:00
Harald Hoyer 0a874834bc feat: Update printer settings in default.nix
This commit modifies several settings of the home printer module in default.nix. The PageSize parameter was changed, and several new parameters related to print quality and color correction were added for better print results, specifically for photos.
2024-07-11 16:33:55 +02:00
Harald Hoyer 432c060ce7 feat: Update versions in flake.lock
This commit updates the narHashes and revisions of multiple packages in flake.lock file. The revisions are updated to their newer versions for improved performance and security patches.
2024-07-11 15:06:57 +02:00
Harald Hoyer 45433d0622 feat: Enable home printer setup
Created a new module for home printer setup and enabled it on x86_64-linux systems. The module configures printing drivers and ensures that printers are set up properly. In addition, moved specific printer configurations into the newly created homeprinter module.
2024-07-11 15:06:41 +02:00
Harald Hoyer 55d2bdc640 feat: add printer configurations and services
This commit adds configurations for two printers (Brother DCP-L2530DW and Canon MG6300 series) in the nix file. It also enables printing services and resolves DNSSEC degradation. This ensures a more seamless and secure printing experience.
2024-07-11 13:31:46 +02:00
Harald Hoyer 90ee556acd feat: Add Brother DCP-L2530DW printer driver support
This commit adds support for the Brother DCP-L2530DW printer driver. The new file, dcpl2530dw-cups/default.nix, includes necessary build inputs and sets up installation paths. Currently, this build only supports the x86_64 platform.
2024-07-11 12:14:51 +02:00
Harald Hoyer b2b0a9fc7d fix: correct indentation in mailserver configuration
The indentation in the mailserver.nix file was fixed to follow proper syntax guidelines. This was a minor change, but it improves code readability and adherence to stylistic standards.
2024-07-11 12:14:36 +02:00
Harald Hoyer 10fbd22629 feat: Remove atticd service from sgx-nixos system
The 'atticd' service has been deleted from the sgx-nixos configuration. Additionally, the reference to 'atticd.nix' has been removed from the 'default.nix' imports. This was done to help streamline the system configuration.
2024-07-05 16:14:52 +02:00
Harald Hoyer d5f688f7e9 feat: Add 'wheel' to default user extraGroups
The user's extraGroups in the NixOS module now contains 'wheel' by default. This change provides the user with more privileges. Consequently, 'wheel' has been removed from the SGX-Attic's 'user.extraGroups' as it became redundant.
2024-07-05 16:13:48 +02:00
Harald Hoyer 029463604a chore: remove nixsgx.cachix.org 2024-07-05 16:09:37 +02:00
Harald Hoyer b845b617b0 feat: remove specific TCP port from firewall allowed list
This commit removes a predefined TCP port (8080) from the allowed list in the networking firewall. This choice will increase the security features by avoiding any unnecessary open ports in the firewall configuration.
2024-07-05 15:48:19 +02:00
Harald Hoyer 100a721474 feat: Comment out atticd.nix import in sgx-nixos
The import statement for the atticd.nix file has been commented out in the default.nix file under the sgx-nixos system. This reflects changes in dependencies or system configurations.
2024-07-05 15:33:31 +02:00