From 214cf14e0d6a85453548f7addcacd3de24b75e9c Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Fri, 31 Jan 2025 23:04:43 +0500 Subject: [PATCH] fix: NixOS | clean up config arguments --- flake.nix | 4 +--- nixos/configuration.nix | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 8632a4a..beb3302 100644 --- a/flake.nix +++ b/flake.nix @@ -36,9 +36,7 @@ ]; specialArgs = { inherit inputs; - meta = { - hostname = host; - }; + hostname = host; }; }; }; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index ab6e33c..d0081d1 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -2,14 +2,9 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ inputs, hostname, pkgs, ... }: +{ inputs, pkgs, hostname, ... }: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;