From c74e3a056e83ecf7e1cf6911d8441221eb4be1a8 Mon Sep 17 00:00:00 2001 From: foglar Date: Tue, 18 Mar 2025 08:29:17 +0100 Subject: [PATCH] nix mineral --- flake.nix | 7 +++++++ kogami/configuration.nix | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ffb0a3d..0e66795 100644 --- a/flake.nix +++ b/flake.nix @@ -170,6 +170,13 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + nix-mineral = { + url = "github:cynicsketch/nix-mineral"; # Refers to the main branch and is updated to the latest commit when you use "nix flake update" + # url = "github:cynicsketch/nix-mineral/v0.1.6-alpha" # Refers to a specific tag and follows that tag until you change it + # url = "github:cynicsketch/nix-mineral/cfaf4cf15c7e6dc7f882c471056b57ea9ea0ee61" # Refers to a specific commit and follows that until you change it + flake = false; + }; + # Nix on Droid Configuration nixpkgs-droid.url = "github:NixOS/nixpkgs/nixos-24.05"; diff --git a/kogami/configuration.nix b/kogami/configuration.nix index 060c390..7ef20fd 100644 --- a/kogami/configuration.nix +++ b/kogami/configuration.nix @@ -13,6 +13,7 @@ ../nixos/system/system.nix inputs.home-manager.nixosModules.home-manager inputs.sops-nix.nixosModules.sops + "${inputs.nix-mineral}/nix-mineral.nix" ]; # Home manager @@ -82,7 +83,10 @@ programs = { kdeconnect.enable = true; wireshark.enable = true; - auto-cpufreq.enable = if config.sys.desktop.plasma.enable then false else true; + auto-cpufreq.enable = + if config.sys.desktop.plasma.enable + then false + else true; nix-ld.dev.enable = true; };