Skip to content

Commit

Permalink
fix(nixos): rename some parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq committed May 24, 2024
1 parent 7deeca4 commit 161f087
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
21 changes: 10 additions & 11 deletions modules/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
temperature.night = 2300;
};
thermald.enable = lib.mkDefault true;
libinput = {
enable = true;
touchpad = {
accelSpeed = "1.0";
disableWhileTyping = true;
naturalScrolling = false;
tapping = true;
};
};
xserver = {
enable = true;

Expand All @@ -37,19 +46,9 @@
];
};

libinput = {
enable = true;
touchpad = {
accelSpeed = "1.0";
disableWhileTyping = true;
naturalScrolling = false;
tapping = true;
};
};

videoDrivers = lib.mkDefault [ "intel" ];

xkbOptions = "ctrl:nocaps,compose:ralt";
xkb.options = "ctrl:nocaps,compose:ralt";
};
};
hardware.pulseaudio = {
Expand Down
5 changes: 2 additions & 3 deletions src/modules/nixos.nw
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,17 @@ services = {
Enable the X server, start it automatically,

<<Configure the X server>>=
<<Configure libinput>>
xserver = {
enable = true;

autorun = true;

<<Configure the display manager>>

<<Configure libinput>>

videoDrivers = lib.mkDefault [ "intel" ];

xkbOptions = "ctrl:nocaps,compose:ralt";
xkb.options = "ctrl:nocaps,compose:ralt";
};
@

Expand Down

0 comments on commit 161f087

Please sign in to comment.