mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +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
|
# 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?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user