aboutsummaryrefslogtreecommitdiff
path: root/nixos/configurations
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-04-16 10:51:59 +0200
committerKarel Kočí <cynerd@email.cz>2024-04-16 10:53:52 +0200
commitbbda84ca261397086f866ece115c4ec9111d4d02 (patch)
tree29b165207bf12de36cc6f983edd3f3a65512fba2 /nixos/configurations
parent2fcf002e3abff092eafd098fadafa15ea579aae4 (diff)
downloadnixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.tar.gz
nixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.tar.bz2
nixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.zip
Try to improve the code
Diffstat (limited to 'nixos/configurations')
-rw-r--r--nixos/configurations/dean.nix8
-rw-r--r--nixos/configurations/default.nix2
2 files changed, 2 insertions, 8 deletions
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;
};