feat: make configs more uniform?

This commit is contained in:
Ahwx 2024-10-21 15:40:49 +02:00
parent 63d18ba51b
commit 06edba04c8
2 changed files with 18 additions and 12 deletions

View file

@ -1,17 +1,14 @@
{ pkgs, config, ... }:
{ inputs, lib, pkgs, config, ... }:
{
imports = [
./hardware-configuration.nix
./../../modules/core
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
];
hardware.framework.amd-7040.preventWakeOnAC = true;
networking.hostName = "sakura";
nixpkgs.config.permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
"olm-3.2.16"
];
environment.systemPackages = with pkgs; [
acpi
brightnessctl

View file

@ -14,20 +14,29 @@
options = "--delete-older-than 7d";
};
};
nixpkgs = {
# nixpkgs = {
# overlays = [
# self.overlays.default
# inputs.nur.overlay
# ];
# };
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
"olm-3.2.16"
];
overlays = [
self.overlays.default
inputs.nur.overlay
];
};
environment.systemPackages = with pkgs; [
wget
git
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
time.timeZone = "Europe/Amsterdam";
i18n.defaultLocale = "en_US.UTF-8";
nixpkgs.config.allowUnfree = true;
system.stateVersion = "24.05";
}