mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 05:03:15 -08:00
fix: i never enabled the nyx repo apparently
This commit is contained in:
parent
c3350d181f
commit
b4ce551d54
2 changed files with 7 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
23
flake.nix
23
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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue