flake: add lix module; set default nix to lix
This commit is contained in:
parent
db01784a8b
commit
c11fac7e01
2 changed files with 9 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
lib.mapAttrs (
|
||||
system: pkgs: {
|
||||
inherit
|
||||
(import ./packages rec {
|
||||
(import ./packages {
|
||||
inherit pkgs;
|
||||
helix = inputs.helix.packages.${system}.default;
|
||||
})
|
||||
|
@ -74,5 +74,10 @@
|
|||
# Mismatched system dependencies will lead to crashes and other issues.
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
lix-module = {
|
||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,10 +12,11 @@ in {
|
|||
imports = [
|
||||
./documentation.nix # nixos documentation
|
||||
./nixpkgs.nix # global nixpkgs configuration
|
||||
inputs.lix-module.nixosModules.default
|
||||
];
|
||||
|
||||
nix = {
|
||||
package = pkgs.lix;
|
||||
# package = pkgs.lix;
|
||||
|
||||
# fuck channels, no thanks
|
||||
channel.enable = mkForce false;
|
||||
|
@ -98,6 +99,7 @@ in {
|
|||
"nix-command" # experimental nix commands
|
||||
"cgroups" # allow nix to execute builds inside cgroups
|
||||
"repl-flake" # nh os repl needs this on lix
|
||||
"pipe-operator"
|
||||
];
|
||||
|
||||
# Ensures that the result of Nix expressions is fully determined by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue