From 9d15ab2f6844f9ff69ab6c33b2604bcbaab36e32 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 1 Sep 2024 19:44:17 -0400 Subject: [PATCH] chore: Fix formatting --- hosts/phone/configuration.nix | 12 +++++++----- modules/hardware.nix | 9 ++++++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/hosts/phone/configuration.nix b/hosts/phone/configuration.nix index 08b71820..2ea9eb0f 100644 --- a/hosts/phone/configuration.nix +++ b/hosts/phone/configuration.nix @@ -31,7 +31,13 @@ in { imports = attrValues self.nixosModules; - nixpkgs.overlays = with self.overlays; [ phinger-cursors ]; + nixpkgs = { + overlays = with self.overlays; [ phinger-cursors ]; + + config.permittedInsecurePackages = [ + "olm-3.2.16" + ]; + }; home-manager.sharedModules = attrValues { inherit (self.homeModules) @@ -209,10 +215,6 @@ in ]; }; - nixpkgs.config.permittedInsecurePackages = [ - "olm-3.2.16" - ]; - modules = { system = { hostName = "mobile-nixos"; diff --git a/modules/hardware.nix b/modules/hardware.nix index aa770d04..4f05b0ae 100644 --- a/modules/hardware.nix +++ b/modules/hardware.nix @@ -74,9 +74,12 @@ in }; environment = { - systemPackages = mkIf mouseSettings (with pkgs; [ - piper - ]); + systemPackages = mkIf mouseSettings ( + with pkgs; + [ + piper + ] + ); etc.${dualFunctionKeysConfig}.text = toJSON { TIMING = [