feat(hyprland): init

This commit is contained in:
Kat Inskip 2024-03-07 17:05:22 -08:00
parent 8872b78a07
commit 8820db6792
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
23 changed files with 957 additions and 18 deletions

View file

@ -0,0 +1,6 @@
{ pkgs, inputs, ... }: {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
}

View file

@ -0,0 +1,9 @@
{tree, ...}: {
imports = with tree.nixos.profiles; [
graphical
];
home-manager.users.kat.imports = with tree.home.environments; [
hyprland
];
}

View file

@ -0,0 +1,10 @@
{pkgs, inputs, ...}: {
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
};
};
}

View file

@ -13,5 +13,6 @@
];
services.udev.packages = [
pkgs.android-udev-rules
pkgs.via
];
}

View file

@ -0,0 +1,3 @@
_: {
powerManagement.cpuFreqGovernor = "performance";
}

View file

@ -1,3 +1,12 @@
_: {
services.power-profiles-daemon.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
};
};
}