fix: i never enabled the nyx repo apparently

This commit is contained in:
Ruben 2024-04-17 17:55:34 -05:00
commit b4ce551d54
No known key found for this signature in database
GPG key ID: AE181294E97E4802
2 changed files with 7 additions and 19 deletions

View file

@ -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

View file

@ -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
];
};
};