feat: NixOS template for new users #33
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
Compat
Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: auxolotl/templates#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "new-user-templates"
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?
This is an overhaul of the NixOS system template meant to ease new users into the NixOS way of configuring systems.
aux.systemnamespace for enabling/disabling common system features, like GPU drivers and desktop environments.Neat! I would mention that it is worth being extremely cautious introducing options, especially under the
auxnamespace. These are probably fine, but it is worth considering how things may shape up in the future and whether we will want certain option names/groups to be available.@ -4,1 +4,3 @@inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";inputs = {# Import Auxolotl libsauxlib.url = "https://git.auxolotl.org/auxolotl/labs/archive/main.tar.gz?dir=lib";We probably don't want to be relying on anything in
labs.Makes sense. I didn't expect these would be final, I just tried picking a namespace that I thought would be relatively safe. I can always go back and update this if needed.
@ -0,0 +20,4 @@};};config = lib.mkMerge [(lib.mkIf cfg.allowUnfree { nixpkgs.config.allowUnfree = true; })we can avoid
lib.mkMergehere sincecfg.allowUnfreeis a boolean we can set it directly toonixpkgs.config.allowUnfree@ -0,0 +35,4 @@pulse.enable = true;jack.enable = true;# Reduce audio latency per https://nixos.wiki/wiki/PipeWire#Low-latency_setupIf we reference the nix wiki we should use https://wiki.nixos.org/wiki/PipeWire#Low-latency_setup
This looks reasonable to me, if you've tested it then please feel free to merge - if not, I'll do so later
Also: please read up on conventional commits: it seems that you're using nonstandard things (e.g. bugfix rather than fix) and have missed stuff on some commits. If you can rebase this before merging, that would be awesome!
Will do! I found some other things in the meantime, so I'll switch this to WIP while getting all of that sorted out.
feat: NixOS template for new usersto WIP: feat: NixOS template for new users286052b183to4eb943d0474eb943d047toc525e75d93WIP: feat: NixOS template for new usersto feat: NixOS template for new usersRebasing is done! I clarified the scope of each commit, and filled in missing details.
f77f3d0cb8Should be 2 separate commits, one which fixes the issue, and another that adds the features.cc4c0e307b (diff-0e9915e5a48567cae3374ca28f1e330e3e0c61aa)Likely should not be here?7799a1630bShould be 2 separate commitsc525e75d93to2ad48954542ad4895454to33efba78de33efba78deto8d2062bd748d2062bd74to3b0a0ef579@coded I did another pass and cleaned up the messy commits. How does this look?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.