nixos-config/roles/desktop.nix

33 lines
618 B
Nix
Raw Normal View History

2024-12-20 20:12:16 +01:00
{ lib, pkgs, config, username, home-manager, ... }:
with lib;
let
cfg = config.liv.desktop;
in {
options.liv.desktop = {
enable = mkEnableOption "Enable desktop";
};
config = mkIf cfg.enable {
home-manager = {
users.${username} = {
home.packages = with pkgs; [
# Home packages
];
};
};
2024-10-21 17:17:15 +02:00
2024-12-20 20:12:16 +01:00
networking.networkmanager.enable = true;
boot = {
kernelModules = ["acpi_call"];
extraModulePackages = with config.boot.kernelPackages;
[
acpi_call
];
};
services = {
thermald.enable = true;
};
};
}