From 3f286fbc7a657e9fef448d98c7f7c5d50d586af6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 13 Dec 2023 18:16:40 +0800 Subject: [PATCH] hosts/ni: update module formatting --- hosts/ni/default.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index dd368f91..eb4b1f18 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -27,13 +27,17 @@ hosts.ni = { hardware.qol.enable = true; - networking.enable = true; - networking.setup = "networkmanager"; - networking.wireguard.enable = true; - setups.desktop.enable = true; - setups.development.enable = true; - setups.music.enable = true; - setups.gaming.enable = true; + networking = { + enable = true; + setup = "networkmanager"; + wireguard.enable = true; + }; + setups = { + desktop.enable = true; + development.enable = true; + music.enable = true; + gaming.enable = true; + }; }; disko.devices = import ./disko.nix { @@ -62,6 +66,8 @@ # Basically, the most basic nixpkgs configuration. environment.variables.NIXPKGS_CONFIG = lib.mkForce ./config/nixpkgs/config.nix; + # Some more experimentals for Nix. + nix.settings.experimental-features = [ "auto-allocate-uids" "configurable-impure-env" ]; system.stateVersion = "24.05"; # Yes! I read the comment! }