1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

fix: use legacyPackages, now compiling fine

This commit is contained in:
oddlama 2022-12-09 16:38:56 +01:00
parent 08db98efd4
commit 2b440bbde3
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 5 additions and 16 deletions

View file

@ -1,5 +1,4 @@
{
config,
lib,
pkgs,
...

View file

@ -25,6 +25,6 @@
flake-registry = /etc/nix/registry.json
'';
optimise.automatic = true;
gc.automatic = true;
gc.automatic = true;
};
}

View file

@ -59,7 +59,7 @@
checks = import ./nix/checks.nix inputs localSystem;
devShells.default = import ./nix/dev-shell.nix inputs localSystem;
packages =
legacyPackages =
{
default = self.packages.${localSystem}.all;
}

View file

@ -52,7 +52,7 @@
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
video.hidpi.enable = lib.mkDefault true;
video.hidpi.enable = true;
opengl.enable = true;
};

View file

@ -8,11 +8,7 @@
inherit (nixpkgs) lib;
hosts = (import ./hosts.nix).homeManager.all;
genModules = hostName: {homeDirectory, ...}: {
config,
pkgs,
...
}: {
genModules = hostName: {homeDirectory, ...}: {config, ...}: {
imports = [(../hosts + "/${hostName}")];
nix.registry = {
nixpkgs.flake = nixpkgs;

View file

@ -1,9 +1,3 @@
{
config,
impermanence,
lib,
pkgs,
...
}:
{lib, ...}:
with lib; {
}