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:
parent
08db98efd4
commit
2b440bbde3
6 changed files with 5 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
flake-registry = /etc/nix/registry.json
|
||||
'';
|
||||
optimise.automatic = true;
|
||||
gc.automatic = true;
|
||||
gc.automatic = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
enableAllFirmware = true;
|
||||
video.hidpi.enable = lib.mkDefault true;
|
||||
video.hidpi.enable = true;
|
||||
opengl.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
{
|
||||
config,
|
||||
impermanence,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{lib, ...}:
|
||||
with lib; {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue