wooting keyboard and other misc fixes

This commit is contained in:
LordGrimmauld 2024-02-14 22:40:13 +01:00
parent 5cd40d6f60
commit 3c245ad72a
9 changed files with 68 additions and 34 deletions

0
.require_update Normal file
View File

View File

@ -8,11 +8,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1703433843, "lastModified": 1707830867,
"narHash": "sha256-nmtA4KqFboWxxoOAA6Y1okHbZh+HsXaMPFkYHsoDRDw=", "narHash": "sha256-PAdwm5QqdlwIqGrfzzvzZubM+FXtilekQ/FA0cI49/o=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "417caa847f9383e111d1397039c9d4337d024bf0", "rev": "8cb01a0e717311680e0cbca06a76cbceba6f3ed6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -80,11 +80,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1704982712, "lastModified": 1706830856,
"narHash": "sha256-2Ptt+9h8dczgle2Oo6z5ni5rt/uLMG47UFTR1ry/wgg=", "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "07f6395285469419cf9d078f59b5b49993198c00", "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -160,11 +160,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1706750085, "lastModified": 1707614138,
"narHash": "sha256-y/+t2ctdeUD/b0DLWS96UgGUs/srj7vbWef709DPxW4=", "narHash": "sha256-xdmNhDnlDF5H/yT1wLGqwVyphjj03lmA/e3SGXyC3DU=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "63fa64659760172fef0e4d674c6661b7ad53b16b", "rev": "a5de885438ecce695b4b7a110974c33f0eb507e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -192,11 +192,11 @@
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"dir": "lib", "dir": "lib",
"lastModified": 1703961334, "lastModified": 1706550542,
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=", "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9", "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -225,11 +225,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1706367331, "lastModified": 1707451808,
"narHash": "sha256-AqgkGHRrI6h/8FWuVbnkfFmXr4Bqsr4fV23aISqj/xg=", "narHash": "sha256-UwDBUNHNRsYKFJzyTMVMTF5qS4xeJlWoeyJf+6vvamU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "160b762eda6d139ac10ae081f8f78d640dd523eb", "rev": "442d407992384ed9c0e6d352de75b69079904e4e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -241,27 +241,27 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1706550542, "lastModified": 1707934190,
"narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", "narHash": "sha256-pheFtJ6eB80oGeehOU8lXkxr6dXWmlggS0sNt/ZOFWs=",
"owner": "NixOS", "ref": "nixos-unstable",
"repo": "nixpkgs", "rev": "fd93f45f542133d046ddeaeba13860d2e4a3eef2",
"rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", "revCount": 583448,
"type": "github" "type": "git",
"url": "file:///home/grimmauld/nixpkgs"
}, },
"original": { "original": {
"owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "type": "git",
"type": "github" "url": "file:///home/grimmauld/nixpkgs"
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1706672657, "lastModified": 1706812040,
"narHash": "sha256-API05c0SDZrmzz1wpqt/K3iCwlaOqDeDfZGp0YGQnek=", "narHash": "sha256-pxgWZApBfqHi4I6Hz7nL/rSt0vGE62HvBwvuVXFXeOk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "632751bf0ceeefc74af7a9d2335ea923ad9c831a", "rev": "5c5bca5a97c0982ea37a2fcf6d3860349b9f9a35",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -278,11 +278,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1706731447, "lastModified": 1707218112,
"narHash": "sha256-VbsFKQZwtFH6+k4U/YjgF20Byhz4Z21kmoLcG5dV2M8=", "narHash": "sha256-GXwhrTyeIj38aBi8t6fxasuJ3h2AhvxDypAxQjKrrTY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "kde2nix", "repo": "kde2nix",
"rev": "e7aded2df9d79e3c23c953bd6011b66ba2b87d98", "rev": "285ae35495f7a39aacf91598ecf154035bc5d2e8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -3,7 +3,7 @@
inputs = { inputs = {
nixpkgs = { nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable"; url = "git+file:///home/grimmauld/nixpkgs?ref=nixos-unstable";
}; };
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
swayfx = { swayfx = {

View File

@ -18,8 +18,8 @@
console.keyMap = "de"; console.keyMap = "de";
services.xserver = { services.xserver.xkb = {
layout = "de"; layout = "de";
xkbVariant = ""; variant = "";
}; };
} }

View File

@ -18,6 +18,8 @@
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall.allowedTCPPorts = [ 5900 ];
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];

View File

@ -27,6 +27,7 @@
lm_sensors lm_sensors
oci-cli oci-cli
xcb-util-cursor xcb-util-cursor
krfb
imagemagick imagemagick
pypy3 pypy3
@ -35,7 +36,13 @@
matplotlib matplotlib
numpy numpy
scipy scipy
])) ]))
libsForQt5.audiocd-kio
# libsForQt5.libkcompactdisc
# libsForQt5.kio-extras
# libsForQt5.phonon
# libsForQt5.qt5.qtmultimedia
(writeShellScriptBin "primerun" '' (writeShellScriptBin "primerun" ''
export __NV_PRIME_RENDER_OFFLOAD=1 export __NV_PRIME_RENDER_OFFLOAD=1

View File

@ -26,6 +26,9 @@ in {
#keyMode = "vi"; #keyMode = "vi";
}; };
virtualisation.docker.enable = true;
programs.neovim = { programs.neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
@ -34,6 +37,7 @@ in {
customRC = '' customRC = ''
set number set number
set hidden set hidden
set fileencodings=utf-8
set nocompatible set nocompatible
''; '';
packages.myVimPackage = with pkgs.vimPlugins; { packages.myVimPackage = with pkgs.vimPlugins; {

9
modules/tui.nix Normal file
View File

@ -0,0 +1,9 @@
{pkgs, }: {
environment.systemPackages = with pkgs; [
fbcat
gomuks
bluetuith
spotify-tui
ranger
];
}

View File

@ -26,6 +26,18 @@
blender blender
gomuks gomuks
fbcat fbcat
wootility
# osu-lazer-bin
(pkgs.symlinkJoin {
name = "osu";
paths = [
(pkgs.writeShellScriptBin "osu!" ''
exec nice -n -19 gamemoderun primerun ${pkgs.osu-lazer-bin}/bin/'osu!'
'')
pkgs.osu-lazer-bin
];
})
]; ];
}; };
services.udev.packages = [ pkgs.wooting-udev-rules ];
} }