mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
fix: fix stuff
This commit is contained in:
parent
2582b7ba97
commit
2f84b14808
6 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
lib: lib.nixosSystem ({ config, keys, lib, ... }: let
|
||||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
lib: lib.nixosSystem ({ config, keys, lib, ... }: let
|
||||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
lib: lib.nixosSystem ({ config, keys, lib, ... }: let
|
||||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
lib: lib.darwinSystem ({ lib, ... }: let
|
||||
lib: lib.darwinSystem' ({ lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
|
|
|
@ -24,7 +24,7 @@ inputs: self: super: let
|
|||
lib = self;
|
||||
};
|
||||
in {
|
||||
nixosSystem = module: super.nixosSystem {
|
||||
nixosSystem' = module: super.nixosSystem {
|
||||
inherit specialArgs;
|
||||
|
||||
modules = [
|
||||
|
@ -35,7 +35,7 @@ in {
|
|||
++ inputModulesLinux;
|
||||
};
|
||||
|
||||
darwinSystem = module: super.darwinSystem {
|
||||
darwinSystem' = module: super.darwinSystem {
|
||||
inherit specialArgs;
|
||||
|
||||
modules = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, ... }: let
|
||||
inherit (lib) genAttrs mkConst mkIf remove;
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue