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
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?
}

View File

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