Revert "feat: switch back to lix"

This reverts commit 679f12e6a8.
This commit is contained in:
Moritz Böhme 2025-05-19 12:25:54 +02:00
parent a345552e16
commit 701443bf1f
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 12 additions and 62 deletions

View file

@ -2,16 +2,14 @@
config,
lib,
inputs,
self,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkOption types;
cfg = config.my.programs.nix;
in {
imports = [
inputs.lix-module.nixosModules.default
];
options.my.programs.nix = {
gc = {
enable = mkEnableOption "nix-gc";
@ -25,9 +23,15 @@ in {
};
config = {
home-manager.users.moritz.programs.direnv.nix-direnv.package = pkgs.nix-direnv.override {
nix = config.nix.package;
};
nix = {
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
package = pkgs.nix; # TODO: change this back
extraOptions = ''
experimental-features = nix-command flakes
'';
@ -52,6 +56,9 @@ in {
master.flake = inputs.master;
nixpkgs.flake = inputs.nixpkgs;
stable.flake = inputs.stable;
dotfiles.flake = self;
default.flake = self;
d.flake = self;
};
settings = {