From b4ce551d54212a4e5988ca624332dea75a4310da Mon Sep 17 00:00:00 2001 From: Sneexy Date: Wed, 17 Apr 2024 17:55:34 -0500 Subject: [PATCH] fix: i never enabled the nyx repo apparently --- config/packages.nix | 3 +++ flake.nix | 23 ++++------------------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/config/packages.nix b/config/packages.nix index 2895ce1..69a623c 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -7,6 +7,9 @@ # enable flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; environment.systemPackages = with pkgs; [ + # kernel from nyx + linuxPackages_cachyos + # git is required for flakes, and either way i use it git wget diff --git a/flake.nix b/flake.nix index c2b4416..619df96 100644 --- a/flake.nix +++ b/flake.nix @@ -66,25 +66,6 @@ # pass to it, with each system as an argument forAllSystems = nixpkgs.lib.genAttrs systems; in { - # setup modules and stuff idk whats going on here - nixosModules = { - declarativeHome = { ... }: { - imports = [ home-manager.nixosModules.home-manager ]; - config = { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - }; - }; - defaults = { ... }: { - nixpkgs.config.allowUnfree = true; - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; - }; - environment.stub-ld.enable = false; # 24.05 - }; - }; - # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { @@ -97,6 +78,8 @@ # fingerprint modules nixos-06cb-009a-fingerprint-sensor.nixosModules.open-fprintd nixos-06cb-009a-fingerprint-sensor.nixosModules.python-validity + # nyx repo + chaotic.nixosModules.default ]; }; # secondary 2 in 1 device, not really used @@ -105,6 +88,8 @@ modules = with self.nixosModules; [ # nixos configuration file (and others) for thonkpad ./machines/thonkpad + # nyx repo + chaotic.nixosModules.default ]; }; };