set default value for nixops4Package #412
No reviewers
Labels
No labels
api service
blocked
bug
component: fediversity panel
component: nixops4
documentation
estimation high: >3d
estimation low: <2h
estimation mid: <8h
productisation
project-management
question
role: application developer
role: application operator
role: hosting provider
role: maintainer
security
technical debt
testing
type unclear
type: key result
type: objective
type: task
type: user story
user experience
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#389 Add
forgejo-ci
machine to our infrastructure}
fediversity/fediversity
Reference: fediversity/fediversity#412
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "kiara/Fediversity:default-nixops-package"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
forgejo-ci
machine to our infrastructure@ -150,0 +160,4 @@
;
inherit (inputs) nixops4;
in
(load-flake nixops4).packages.${pkgs.system}.default;
why don't we instead splice it in through the overlay? it will reduce to
pkgs.nixops4
here, source wrangling will happen inpanel/default.nix
(before we merge it withdefault.nix
) where it belongs, and the overlay is the correct place to add additional stuff topkgs
.PS: IMO
../.
is a code smell in the Nix language, and I recommend using it as an indicator to reconsider where to put things and how to pass them through.thanks, i moved it to the overlay now.
on paths like that, agreed (see #346). in this case tho, given the path targets the root-level flake path, what would you propose?
I'd propose to gradually rework the whole setup, as discussed last week; essentially modularize everything, just not with flake-parts, because there's no reason whatsoever to produce flake outputs. But there's very good reason to pass around values through module options and have some type safety (both for reducing opportunity for error and readability).
fb8957eb86
to33bc802c21
Nice, clean change :)
Amazing!