mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Add hardware
This commit is contained in:
parent
7da8f05b24
commit
2aa91c36d7
4 changed files with 23 additions and 1 deletions
|
|
@ -32,6 +32,15 @@ in {
|
|||
mods.unfree.steam.enable = true;
|
||||
mods.unfree.nvidia.enable = true;
|
||||
|
||||
# Hardware settings
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
${pkgs.xorg.xinput} --set-prop "pointer:Logitech Gaming Mouse G502" "libinput Accel Profile Enabled" 0, 1
|
||||
${pkgs.xorg.xinput} --set-prop "pointer:Logitech Gaming Mouse G502" "libinput Accel Speed" -0.4
|
||||
'';
|
||||
services.xserver.displayManager.setupCommands = ''
|
||||
${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right --output DP-2 --primary --mode 2560x1440 --pos 0x480 --rotate normal
|
||||
'';
|
||||
|
||||
# Backup environment
|
||||
services.xserver.windowManager.qtile.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,15 @@ let cfg = osConfig.mods; in {
|
|||
programs.helix.enable = true;
|
||||
programs.qutebrowser.enable = true;
|
||||
|
||||
# Hardware settings
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
"DP-2,2560x1440@144,0x480,1"
|
||||
"DP-2,1920x1080,0x480,1,transform,1"
|
||||
];
|
||||
input.sensitivity = -0.4;
|
||||
};
|
||||
|
||||
# Version of first install
|
||||
home.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
settings.editor = {
|
||||
line-number = "relative";
|
||||
scrolloff = 5;
|
||||
completion-replace = true;
|
||||
bufferline = "always";
|
||||
rulers = [80];
|
||||
|
|
|
|||
|
|
@ -2,6 +2,11 @@
|
|||
options.mods.terminal.tools.enable = lib.mkEnableOption "enables cli tools";
|
||||
|
||||
config = lib.mkIf config.mods.terminal.tools.enable {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = config.xdg.configFile."home";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# libraries
|
||||
glow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue