mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
fix: lix is broken, use dix instead
This commit is contained in:
@@ -5,13 +5,6 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
# auto upgrade nix to the unstable version
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L284
|
||||
# nix.package = pkgs.nixVersions.latest;
|
||||
|
||||
# https://lix.systems/add-to-config/
|
||||
nix.package = pkgs.lix;
|
||||
|
||||
nix.settings = {
|
||||
# enable flakes globally
|
||||
experimental-features = [
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
determinate,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# auto upgrade nix to the unstable version
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L284
|
||||
# nix.package = pkgs.nixVersions.latest;
|
||||
|
||||
# https://lix.systems/add-to-config/
|
||||
# nix.package = pkgs.lix;
|
||||
|
||||
# we use determinate nix instead
|
||||
imports = [
|
||||
determinate.nixosModules.default
|
||||
];
|
||||
|
||||
# to install chrome, you need to enable unfree packages
|
||||
nixpkgs.config.allowUnfree = lib.mkForce true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user