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;
|
inherit (lib) collectNix remove;
|
||||||
in {
|
in {
|
||||||
imports = collectNix ./. |> remove ./default.nix;
|
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;
|
inherit (lib) collectNix remove;
|
||||||
in {
|
in {
|
||||||
imports = collectNix ./. |> remove ./default.nix;
|
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;
|
inherit (lib) collectNix remove;
|
||||||
in {
|
in {
|
||||||
imports = collectNix ./. |> remove ./default.nix;
|
imports = collectNix ./. |> remove ./default.nix;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue