Rune custom keybinds and ddcutil
This commit is contained in:
parent
6ba34d5319
commit
7593cef74b
5 changed files with 25 additions and 2 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
## ENVIORMENT & PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
ddcutil
|
||||||
git
|
git
|
||||||
micro
|
micro
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
|
|
@ -21,8 +21,17 @@
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
boot.kernelModules = [
|
||||||
|
"kvm-amd"
|
||||||
|
"i2c-dev"
|
||||||
|
];
|
||||||
|
|
||||||
|
# for ddcutil to work
|
||||||
|
hardware.i2c.enable = true;
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
||||||
|
'';
|
||||||
|
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
gnomeExtensions.system-monitor
|
gnomeExtensions.system-monitor
|
||||||
gnomeExtensions.window-list
|
gnomeExtensions.window-list
|
||||||
gnomeExtensions.windownavigator
|
gnomeExtensions.windownavigator
|
||||||
|
gnomeExtensions.control-monitor-brightness-and-volume-with-ddcutil
|
||||||
hitori # sudoku game
|
hitori # sudoku game
|
||||||
iagno # go game
|
iagno # go game
|
||||||
tali # poker game
|
tali # poker game
|
||||||
|
|
|
@ -70,12 +70,13 @@
|
||||||
tiling-shell.extensionUuid
|
tiling-shell.extensionUuid
|
||||||
user-themes.extensionUuid
|
user-themes.extensionUuid
|
||||||
vitals.extensionUuid
|
vitals.extensionUuid
|
||||||
|
control-monitor-brightness-and-volume-with-ddcutil.extensionUuid
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
## Fix some annoying keybindings
|
## Fix some annoying keybindings
|
||||||
"org/gnome/desktop/wm/keybindings" = {
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
close = [ "['<Super>Q']" ];
|
close = [ "<Super>q" ];
|
||||||
switch-to-workspace-up = [ "" ];
|
switch-to-workspace-up = [ "" ];
|
||||||
switch-to-workspace-down = [ "" ];
|
switch-to-workspace-down = [ "" ];
|
||||||
shift-overview-up = [ "" ];
|
shift-overview-up = [ "" ];
|
||||||
|
@ -84,6 +85,16 @@
|
||||||
toggle-message-tray = [ "<Super>a" ];
|
toggle-message-tray = [ "<Super>a" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings" = {
|
||||||
|
custom0 = "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||||
|
name = "Terminal";
|
||||||
|
command = "wezterm";
|
||||||
|
binding = "<Super>t";
|
||||||
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/peripherals/mouse" = {
|
"org/gnome/desktop/peripherals/mouse" = {
|
||||||
speed = 0.0;
|
speed = 0.0;
|
||||||
natural-scroll = false;
|
natural-scroll = false;
|
||||||
|
|
|
@ -42,6 +42,7 @@ in
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"i2c"
|
||||||
];
|
];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue