From 84026223d0ed2202d887c974ecafdf35a1cab1c2 Mon Sep 17 00:00:00 2001 From: Ranomier <> Date: Mon, 5 May 2025 08:33:09 +0200 Subject: [PATCH] fix: cleanup --- hostHelper.nix | 4 ++-- system_profiles/mini-container.nix | 10 +++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/hostHelper.nix b/hostHelper.nix index b096499..24d9342 100644 --- a/hostHelper.nix +++ b/hostHelper.nix @@ -8,10 +8,10 @@ in nixosSystem { specialArgs = {inherit inArgs;}; modules = [ - {networking.hostName = hostname;} (./hosts/${hostname}) - { + networking.hostName = hostname; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/system_profiles/mini-container.nix b/system_profiles/mini-container.nix index 275ef92..958d0e8 100644 --- a/system_profiles/mini-container.nix +++ b/system_profiles/mini-container.nix @@ -2,12 +2,8 @@ lib, ... }: { - imports = [ - ./mini.nix + boot.isContainer = lib.mkDefault true; + boot.kernel.enable = lib.mkDefault false; - { - boot.isContainer = lib.mkDefault true; - boot.kernel.enable = lib.mkDefault false; - } - ]; + imports = [ ./mini.nix ]; }