mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
3 commits
908c2d52da
...
da7a98cbc7
Author | SHA1 | Date | |
---|---|---|---|
da7a98cbc7 | |||
45922f8770 | |||
fed385b023 |
4 changed files with 77 additions and 74 deletions
|
@ -47,7 +47,7 @@
|
||||||
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device =
|
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device =
|
||||||
"/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
|
"/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
|
||||||
|
|
||||||
powerManagement.powertop.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
networking.hostName = "adrastea"; # Define your hostname.
|
networking.hostName = "adrastea"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement.powertop.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
# tells electron apps to use Wayland
|
# tells electron apps to use Wayland
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
@ -52,16 +52,12 @@
|
||||||
"stereo-link": 100.0,
|
"stereo-link": 100.0,
|
||||||
"threshold": 0.0
|
"threshold": 0.0
|
||||||
},
|
},
|
||||||
"plugins_order": [
|
"plugins_order": ["limiter#0", "compressor#0", "reverb#0"],
|
||||||
"limiter#0",
|
|
||||||
"compressor#0",
|
|
||||||
"reverb#0"
|
|
||||||
],
|
|
||||||
"reverb#0": {
|
"reverb#0": {
|
||||||
"amount": -12.0,
|
"amount": -12.0,
|
||||||
"bass-cut": 300.0,
|
"bass-cut": 300.0,
|
||||||
"bypass": false,
|
"bypass": false,
|
||||||
"decay-time": 1.5,
|
"decay-time": 0.4,
|
||||||
"diffusion": 0.5,
|
"diffusion": 0.5,
|
||||||
"dry": 0.0,
|
"dry": 0.0,
|
||||||
"hf-damp": 5000.0,
|
"hf-damp": 5000.0,
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -286,4 +287,10 @@
|
||||||
"hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
"hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue