[ubuntu] Onboard an ubuntu config.

This commit is contained in:
jmug
2026-11-18 22:28:25 -08:00
parent 2df0a3a2f9
commit 61e1108ff7
10 changed files with 612 additions and 4 deletions
+69
View File
@@ -0,0 +1,69 @@
// Managed by ~/nixos/ubuntu (bootstrap.sh etc). Local edits get overwritten.
// Ported from hosts/nixbox/configuration.nix.
devices: (
{
name: "Wireless Mouse MX Master 3";
hiresscroll: {
};
thumbwheel: {
invert: true;
};
buttons: (
{
cid: 0x53;
action =
{
type : "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFT"];
};
},
{
cid: 0x56;
action =
{
type : "Keypress";
keys: ["KEY_LEFTMETA", "KEY_RIGHT"];
};
}
);
},
{
name: "MX Vertical Advanced Ergonomic Mouse";
hiresscroll: {
hires: true;
invert: false;
target: false;
};
buttons: (
{
cid: 0x53;
action =
{
type : "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEUP"];
};
},
{
cid: 0x56;
action =
{
type : "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEDOWN"];
};
},
{
cid: 0xfd;
action =
{
type : "Keypress";
keys: ["KEY_LEFTMETA"];
};
}
);
}
);