modularize config

This commit is contained in:
DashieTM 2024-07-10 17:03:31 +02:00
parent 09c4625fbb
commit 7a4e46e04f
33 changed files with 230 additions and 168 deletions

View file

@ -9,9 +9,11 @@
# all others
",highres,auto,1"
];
programs.ironbar.monitor = "eDP-1";
programs.ironbar.battery = [
{ type = "upower"; class = "memory-usage"; }
];
conf = {
monitor = "eDP-1";
battery = [
{ type = "upower"; class = "memory-usage"; }
];
};
programs.hyprland.extra_autostart = [ "hyprdock --server" ];
}

View file

@ -1,16 +1,16 @@
{ pkgs, ... }:
{
imports = [
../../modules/ironbar_config.nix
../../modules/boot_params.nix
../../modules/conf.nix
./dsdt.nix
./firmware.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "overheating";
programs.ironbar.monitor = "eDP-1";
programs.ironbar.scale = "2.0";
programs.boot.boot_params = [ "rtc_cmos.use_acpi_alarm=1" ];
conf = {
monitor = "eDP-1";
scale = "2.0";
hostname = "overheating";
boot_params = [ "rtc_cmos.use_acpi_alarm=1" ];
};
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =
[