From bbda84ca261397086f866ece115c4ec9111d4d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 16 Apr 2024 10:51:59 +0200 Subject: Try to improve the code --- nixos/configurations/dean.nix | 8 +------- nixos/configurations/default.nix | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'nixos/configurations') diff --git a/nixos/configurations/dean.nix b/nixos/configurations/dean.nix index adc9e87..6feae96 100644 --- a/nixos/configurations/dean.nix +++ b/nixos/configurations/dean.nix @@ -1,10 +1,4 @@ -{ - lib, - pkgs, - ... -}: let - inherit (lib) mkForce; -in { +{pkgs, ...}: { turris.board = "mox"; deploy.enable = true; diff --git a/nixos/configurations/default.nix b/nixos/configurations/default.nix index c653c2d..974d9d9 100644 --- a/nixos/configurations/default.nix +++ b/nixos/configurations/default.nix @@ -29,7 +29,7 @@ in ]; specialArgs = { inputModules = - mapAttrs (n: v: v.nixosModules) (filterAttrs (n: v: v ? nixosModules) self.inputs) + mapAttrs (_: v: v.nixosModules) (filterAttrs (_: v: v ? nixosModules) self.inputs) // { vpsadminos = self.inputs.vpsadminos.nixosConfigurations.container; }; -- cgit v1.2.3