mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 07:44:53 +00:00
mouse accel and channels in justfile
This commit is contained in:
parent
7ad8892d81
commit
82d5c72a7d
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
doas nix-channel --add https://nixos.org/channels/nixos-unstable
|
||||
doas nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
@ -52,6 +52,7 @@
|
||||
|
||||
# Disable mouse acceleration
|
||||
libinput.mouse.accelProfile = "flat";
|
||||
libinput.mouse.accelSpeed = "3.0";
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
@ -68,12 +69,20 @@
|
||||
enable = true;
|
||||
|
||||
# Sound card drivers
|
||||
alsa.enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
|
||||
# PulseAudio emulation
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
/* systemd.services.pavucontrol = { */
|
||||
/* wantedBy = [ "multi-user.target" ]; */
|
||||
/* script = "${pkgs.pavucontrol}/bin/pavucontrol"; */
|
||||
/* }; */
|
||||
|
||||
#services.xrandr.xrandrHeads = [
|
||||
# "HDMI-0"
|
||||
#];
|
||||
@ -140,6 +149,8 @@
|
||||
curl
|
||||
home-manager
|
||||
just
|
||||
/* pavucontrol */
|
||||
libratbag
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
@ -167,6 +178,6 @@
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "21.05"; # Did you read the comment?
|
||||
system.stateVersion = "21.11"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
@ -2,13 +2,14 @@
|
||||
default:
|
||||
@just --list --list-heading $'Update NixOS config:\n'
|
||||
|
||||
channel:
|
||||
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos-unstable
|
||||
nix-channel --update
|
||||
channels:
|
||||
doas nix-channel --add https://nixos.org/channels/nixos-unstable
|
||||
doas nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
||||
doas nix-channel --update
|
||||
|
||||
# Update the system
|
||||
system:
|
||||
nixos-rebuild switch -I nixos-config=./configuration.nix
|
||||
doas nixos-rebuild switch -I nixos-config=./configuration.nix
|
||||
|
||||
# Update the user environment
|
||||
home:
|
||||
|
Loading…
Reference in New Issue
Block a user