Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove go-pkg template #80

Merged
merged 10 commits into from
Feb 12, 2025
Merged

Remove go-pkg template #80

merged 10 commits into from
Feb 12, 2025

Conversation

erikreinert
Copy link
Member

@erikreinert erikreinert commented Feb 12, 2025

Overview

  • Nix no longer supports packing Go programs with buildGoPackage so we should remove the template.
  • Plus a bunch of updates across all templates for latest versions of Nix

- Removed the `go-pkg` template from the `.github/workflows/flake-language.yml` file.
- Updated the README to remove the reference to `go-pkg` for building legacy Go apps.
@erikreinert erikreinert self-assigned this Feb 12, 2025
Updated the URLs for home-manager and nixpkgs in the flake.nix files for darwin, nixos-desktop, and nixos-minimal templates to point to the release-24.11 versions. This ensures the templates use the latest versions of these dependencies.
The sound.enable setting has been removed as it is redundant with the current configuration. Pulseaudio is disabled and Pipewire is being used for sound management.
Updated the home-manager and nixpkgs URLs in the flake.nix file to point to the release-25.05 versions. This ensures compatibility with the latest features and improvements in the new release.
Updated the home-manager URL to point to the latest version instead of a specific release. Changed the nixpkgs URL to use the nixos-unstable branch for more up-to-date packages.
- Updated `system.stateVersion` and `home.stateVersion` across various modules to "24.11".
- Ensures consistency in versioning for system and home-manager configurations.
- Affects darwin, nixos-desktop, and nixos-minimal templates.
- Added `optimise.automatic = true;` to the Nix configuration in darwin, nixos-desktop, and nixos-minimal templates.
- Removed `auto-optimise-store = true;` from the Nix settings as it is now replaced by the new automatic optimization setting.
The nix-daemon service enablement has been removed from the darwin.nix configuration. This change simplifies the module configuration by eliminating the explicit setting of services.nix-daemon.enable to true.
@erikreinert erikreinert merged commit 6b348b2 into main Feb 12, 2025
38 checks passed
@erikreinert erikreinert deleted the feature/remove-gopkg branch February 12, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants