mouse accel and channels in justfile

This commit is contained in:
Noah Masur 2022-01-15 10:14:12 -05:00
parent 7ad8892d81
commit 82d5c72a7d
3 changed files with 18 additions and 10 deletions

View File

@ -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

View File

@ -52,6 +52,7 @@
# Disable mouse acceleration # Disable mouse acceleration
libinput.mouse.accelProfile = "flat"; libinput.mouse.accelProfile = "flat";
libinput.mouse.accelSpeed = "3.0";
}; };
# Configure keymap in X11 # Configure keymap in X11
@ -68,12 +69,20 @@
enable = true; enable = true;
# Sound card drivers # Sound card drivers
alsa.enable = true; alsa = {
enable = true;
support32Bit = true;
};
# PulseAudio emulation # PulseAudio emulation
pulse.enable = true; pulse.enable = true;
}; };
/* systemd.services.pavucontrol = { */
/* wantedBy = [ "multi-user.target" ]; */
/* script = "${pkgs.pavucontrol}/bin/pavucontrol"; */
/* }; */
#services.xrandr.xrandrHeads = [ #services.xrandr.xrandrHeads = [
# "HDMI-0" # "HDMI-0"
#]; #];
@ -140,6 +149,8 @@
curl curl
home-manager home-manager
just just
/* pavucontrol */
libratbag
]; ];
# Some programs need SUID wrappers, can be configured further or are # 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. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }

View File

@ -2,13 +2,14 @@
default: default:
@just --list --list-heading $'Update NixOS config:\n' @just --list --list-heading $'Update NixOS config:\n'
channel: channels:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos-unstable doas nix-channel --add https://nixos.org/channels/nixos-unstable
nix-channel --update doas nix-channel --add https://nixos.org/channels/nixpkgs-unstable
doas nix-channel --update
# Update the system # Update the system
system: system:
nixos-rebuild switch -I nixos-config=./configuration.nix doas nixos-rebuild switch -I nixos-config=./configuration.nix
# Update the user environment # Update the user environment
home: home: