1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 02:27:44 +00:00

fix: fix stuff

This commit is contained in:
RGBCube 2025-05-01 02:19:33 +03:00
parent 2582b7ba97
commit 2f84b14808
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
6 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
lib: lib.nixosSystem ({ config, keys, lib, ... }: let lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
inherit (lib) collectNix remove; inherit (lib) collectNix remove;
in { in {
imports = collectNix ./. |> remove ./default.nix; imports = collectNix ./. |> remove ./default.nix;

View file

@ -1,4 +1,4 @@
lib: lib.nixosSystem ({ config, keys, lib, ... }: let lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
inherit (lib) collectNix remove; inherit (lib) collectNix remove;
in { in {
imports = collectNix ./. |> remove ./default.nix; imports = collectNix ./. |> remove ./default.nix;

View file

@ -1,4 +1,4 @@
lib: lib.nixosSystem ({ config, keys, lib, ... }: let lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
inherit (lib) collectNix remove; inherit (lib) collectNix remove;
in { in {
imports = collectNix ./. |> remove ./default.nix; imports = collectNix ./. |> remove ./default.nix;

View file

@ -1,4 +1,4 @@
lib: lib.darwinSystem ({ lib, ... }: let lib: lib.darwinSystem' ({ lib, ... }: let
inherit (lib) collectNix remove; inherit (lib) collectNix remove;
in { in {
imports = collectNix ./. |> remove ./default.nix; imports = collectNix ./. |> remove ./default.nix;

View file

@ -24,7 +24,7 @@ inputs: self: super: let
lib = self; lib = self;
}; };
in { in {
nixosSystem = module: super.nixosSystem { nixosSystem' = module: super.nixosSystem {
inherit specialArgs; inherit specialArgs;
modules = [ modules = [
@ -35,7 +35,7 @@ in {
++ inputModulesLinux; ++ inputModulesLinux;
}; };
darwinSystem = module: super.darwinSystem { darwinSystem' = module: super.darwinSystem {
inherit specialArgs; inherit specialArgs;
modules = [ modules = [

View file

@ -1,7 +1,7 @@
{ config, lib, ... }: let { config, lib, ... }: let
inherit (lib) genAttrs mkConst mkIf remove; inherit (lib) genAttrs mkConst mkIf remove;
in{ in{
options.services.restic.hosts = mkConst remove config.networking.hostName [ "nine" "best" ]; options.services.restic.hosts = mkConst <| remove config.networking.hostName [ "nine" "best" ];
config.secrets.resticPassword.file = mkIf config.isServer ./password.age; config.secrets.resticPassword.file = mkIf config.isServer ./password.age;