mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03: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";
|
||||||
|
|
|
@ -1,75 +1,71 @@
|
||||||
{
|
{
|
||||||
"input": {
|
"input": {
|
||||||
"blocklist": [],
|
"blocklist": [],
|
||||||
"compressor#0": {
|
"compressor#0": {
|
||||||
"attack": 20.0,
|
"attack": 20.0,
|
||||||
"boost-amount": 6.0,
|
"boost-amount": 6.0,
|
||||||
"boost-threshold": -72.0,
|
"boost-threshold": -72.0,
|
||||||
"bypass": false,
|
"bypass": false,
|
||||||
"dry": -100.0,
|
"dry": -100.0,
|
||||||
"hpf-frequency": 10.0,
|
"hpf-frequency": 10.0,
|
||||||
"hpf-mode": "off",
|
"hpf-mode": "off",
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"knee": -6.0,
|
"knee": -6.0,
|
||||||
"lpf-frequency": 20000.0,
|
"lpf-frequency": 20000.0,
|
||||||
"lpf-mode": "off",
|
"lpf-mode": "off",
|
||||||
"makeup": 0.0,
|
"makeup": 0.0,
|
||||||
"mode": "Downward",
|
"mode": "Downward",
|
||||||
"output-gain": 0.0,
|
"output-gain": 0.0,
|
||||||
"ratio": 4.0,
|
"ratio": 4.0,
|
||||||
"release": 100.0,
|
"release": 100.0,
|
||||||
"release-threshold": -100.0,
|
"release-threshold": -100.0,
|
||||||
"sidechain": {
|
"sidechain": {
|
||||||
"lookahead": 0.0,
|
"lookahead": 0.0,
|
||||||
"mode": "RMS",
|
"mode": "RMS",
|
||||||
"preamp": 0.0,
|
"preamp": 0.0,
|
||||||
"reactivity": 10.0,
|
"reactivity": 10.0,
|
||||||
"source": "Middle",
|
"source": "Middle",
|
||||||
"stereo-split-source": "Left/Right",
|
"stereo-split-source": "Left/Right",
|
||||||
"type": "Feed-forward"
|
"type": "Feed-forward"
|
||||||
},
|
},
|
||||||
"stereo-split": false,
|
"stereo-split": false,
|
||||||
"threshold": -12.0,
|
"threshold": -12.0,
|
||||||
"wet": 0.0
|
"wet": 0.0
|
||||||
},
|
},
|
||||||
"limiter#0": {
|
"limiter#0": {
|
||||||
"alr": false,
|
"alr": false,
|
||||||
"alr-attack": 5.0,
|
"alr-attack": 5.0,
|
||||||
"alr-knee": 0.0,
|
"alr-knee": 0.0,
|
||||||
"alr-release": 50.0,
|
"alr-release": 50.0,
|
||||||
"attack": 5.0,
|
"attack": 5.0,
|
||||||
"bypass": false,
|
"bypass": false,
|
||||||
"dithering": "None",
|
"dithering": "None",
|
||||||
"external-sidechain": false,
|
"external-sidechain": false,
|
||||||
"gain-boost": true,
|
"gain-boost": true,
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"lookahead": 5.0,
|
"lookahead": 5.0,
|
||||||
"mode": "Herm Thin",
|
"mode": "Herm Thin",
|
||||||
"output-gain": 0.0,
|
"output-gain": 0.0,
|
||||||
"oversampling": "None",
|
"oversampling": "None",
|
||||||
"release": 5.0,
|
"release": 5.0,
|
||||||
"sidechain-preamp": 0.0,
|
"sidechain-preamp": 0.0,
|
||||||
"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",
|
"reverb#0": {
|
||||||
"compressor#0",
|
"amount": -12.0,
|
||||||
"reverb#0"
|
"bass-cut": 300.0,
|
||||||
],
|
"bypass": false,
|
||||||
"reverb#0": {
|
"decay-time": 0.4,
|
||||||
"amount": -12.0,
|
"diffusion": 0.5,
|
||||||
"bass-cut": 300.0,
|
"dry": 0.0,
|
||||||
"bypass": false,
|
"hf-damp": 5000.0,
|
||||||
"decay-time": 1.5,
|
"input-gain": 0.0,
|
||||||
"diffusion": 0.5,
|
"output-gain": 0.0,
|
||||||
"dry": 0.0,
|
"predelay": 0.0,
|
||||||
"hf-damp": 5000.0,
|
"room-size": "Large",
|
||||||
"input-gain": 0.0,
|
"treble-cut": 5000.0
|
||||||
"output-gain": 0.0,
|
|
||||||
"predelay": 0.0,
|
|
||||||
"room-size": "Large",
|
|
||||||
"treble-cut": 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