feat: introduction of system_profiles
This commit is contained in:
parent
116aaaacff
commit
855b932cbd
15 changed files with 117 additions and 67 deletions
21
system_profiles/components/nix-defaults.nix
Normal file
21
system_profiles/components/nix-defaults.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
# This loads some nix and nixpkgs specific settints
|
||||
# i often need
|
||||
{lib, pkgs, ...}: {
|
||||
# Disable if you don't want unfree packages
|
||||
nixpkgs.config.allowUnfree = lib.mkDefault true;
|
||||
|
||||
nix = {
|
||||
# https://lix.systems/
|
||||
# Lix is a modern, delicious implementation of the Nix package manager,
|
||||
# focused on correctness, usability, and growth –
|
||||
# and committed to doing right by its community.
|
||||
package = lib.mkDefault pkgs.lix;
|
||||
|
||||
channel.enable = lib.mkDefault false;
|
||||
|
||||
settings.experimental-features = lib.mkDefault [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue