1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Fix some build errors

This commit is contained in:
RGBCube 2023-11-23 15:47:51 +03:00
parent bc16e33c5d
commit 0aa423e152
No known key found for this signature in database
4 changed files with 12 additions and 16 deletions

View file

@ -111,20 +111,16 @@
specialArgs = ulib; specialArgs = ulib;
importConfigurations = hosts: builtins.concatMap (host: { importConfiguration = host: lib.nixosSystem {
${host} = lib.nixosSystem { inherit specialArgs;
inherit specialArgs;
modules = [ modules = [
homeManager.nixosModules.default homeManager.nixosModules.default
(defaultConfiguration host) (defaultConfiguration host)
./machines/${host} ./machines/${host}
]; ];
}; };
}) hosts;
in { in {
nixosConfigurations = importConfigurations [ nixosConfigurations.enka = importConfiguration "enka";
"enka"
];
}); });
} }

View file

@ -1,4 +1,4 @@
{ lib, systemConfiguration, homeConfiguration, imports, ... }: lib.recursiveUpdate3 { recursiveUpdate3, systemConfiguration, homeConfiguration, imports, ... }: recursiveUpdate3
(systemConfiguration { (systemConfiguration {
boot.loader = { boot.loader = {

View file

@ -1,4 +1,4 @@
{ lib, pkgs, hyprland, theme, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate3 { pkgs, recursiveUpdate3, hyprland, theme, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: recursiveUpdate3
(systemConfiguration { (systemConfiguration {
hardware.opengl = enabled {}; hardware.opengl = enabled {};

View file

@ -1,4 +1,4 @@
{ lib, pkgs, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate3 { pkgs, recursiveUpdate3, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: recursiveUpdate3
(systemConfiguration { (systemConfiguration {
users.defaultUserShell = pkgs.nushell; users.defaultUserShell = pkgs.nushell;