Compare commits

...

6 commits

Author SHA1 Message Date
teutat3s 02fe409dfe
droidcam: disable 2024-06-20 18:28:15 +02:00
teutat3s e619b02f4c
dumpyourvms: use a i915 driver that acually works
with Haswell (Crystall Well) Intel CPU
2024-06-20 18:27:29 +02:00
teutat3s fe9f97017d
alacritty: avoid accidentally quitting the terminal 2024-06-20 18:26:48 +02:00
teutat3s 1fdbed48de
uhk: init 2024-06-20 18:26:22 +02:00
teutat3s 81367aea41
bluetooth: disable non-working smbc codec for now 2024-06-20 18:24:34 +02:00
teutat3s b51179e2cb
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/58b905ea87674592aa84c37873e6c07bc3807aba' (2024-06-15)
  → 'github:lnl7/nix-darwin/29b3096a6e283d7e6779187244cb2a3942239fdf' (2024-06-17)
• Updated input 'nixos-flake':
    'github:srid/nixos-flake/c23ce31c707c3e4b699312ab9c80a4a003e893b1' (2024-06-11)
  → 'github:srid/nixos-flake/90360c36a09b4348a3c61bf60e416b3cb1570264' (2024-06-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cc54fb41d13736e92229c21627ea4f22199fee6b' (2024-06-12)
  → 'github:nixos/nixpkgs/752c634c09ceb50c45e751f8791cb45cb3d46c9e' (2024-06-15)
• Updated input 'unstable':
    'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
  → 'github:nixos/nixpkgs/b60ebf54c15553b393d144357375ea956f89e9a9' (2024-06-16)
2024-06-18 22:28:07 +02:00
7 changed files with 24 additions and 25 deletions

View file

@ -171,11 +171,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1718440858, "lastModified": 1718662658,
"narHash": "sha256-iMVwdob8F6P6Ib+pnhMZqyvYI10ZxmvA885jjnEaO54=", "narHash": "sha256-AKG7BsqtVWDlefgzyKz7vjaKTLi4+bmTSBhowbQoZtM=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "58b905ea87674592aa84c37873e6c07bc3807aba", "rev": "29b3096a6e283d7e6779187244cb2a3942239fdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -203,11 +203,11 @@
}, },
"nixos-flake": { "nixos-flake": {
"locked": { "locked": {
"lastModified": 1718149389, "lastModified": 1718654494,
"narHash": "sha256-Bom7owfn/piwRum+VmsRSGAjvnlhDEeE60IONzIQffs=", "narHash": "sha256-IuVb1NwGif8IzPcj1bYD2Uiz80Mc+sfFtBUxADSTj/Q=",
"owner": "srid", "owner": "srid",
"repo": "nixos-flake", "repo": "nixos-flake",
"rev": "c23ce31c707c3e4b699312ab9c80a4a003e893b1", "rev": "90360c36a09b4348a3c61bf60e416b3cb1570264",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -233,11 +233,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1718208800, "lastModified": 1718437845,
"narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", "narHash": "sha256-ZT7Oc1g4I4pHVGGjQFnewFVDRLH5cIZhEzODLz9YXeY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", "rev": "752c634c09ceb50c45e751f8791cb45cb3d46c9e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -405,11 +405,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1718318537, "lastModified": 1718530797,
"narHash": "sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY=", "narHash": "sha256-pup6cYwtgvzDpvpSCFh1TEUjw2zkNpk8iolbKnyFmmU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e9ee548d90ff586a6471b4ae80ae9cfcbceb3420", "rev": "b60ebf54c15553b393d144357375ea956f89e9a9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -39,7 +39,8 @@ in {
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
facetimehd.enable = true; facetimehd.enable = true;
opengl = { opengl = {
extraPackages = with pkgs; [intel-media-driver]; extraPackages = with pkgs; [intel-vaapi-driver]; # i7-4870HQ older hardware like haswell (crystall well)
extraPackages32 = with pkgs.pkgsi686Linux; [intel-vaapi-driver];
}; };
}; };
@ -61,7 +62,8 @@ in {
useRoutingFeatures = "client"; useRoutingFeatures = "client";
}; };
services.usbmuxd.enable = true; services.usbmuxd.enable = true;
programs.droidcam.enable = true;
#programs.droidcam.enable = true;
#services.mozillavpn.enable = true; #services.mozillavpn.enable = true;
security.pki.certificateFiles = [./consul-agent-ca.pem]; security.pki.certificateFiles = [./consul-agent-ca.pem];
@ -96,6 +98,8 @@ in {
# Enable udev rules for gnupg smart cards # Enable udev rules for gnupg smart cards
hardware.gpgSmartcards.enable = true; hardware.gpgSmartcards.enable = true;
hardware.keyboard.uhk.enable = true;
powerManagement = { powerManagement = {
# Use new schedutil govenor # Use new schedutil govenor
# https://github.com/NixOS/nixpkgs/pull/42330 # https://github.com/NixOS/nixpkgs/pull/42330

View file

@ -64,6 +64,8 @@ in {
networking.hostName = "ryzensun"; networking.hostName = "ryzensun";
hardware.keyboard.uhk.enable = true;
home-manager.users."${psCfg.user.name}".xdg.configFile = { home-manager.users."${psCfg.user.name}".xdg.configFile = {
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf; "sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
"sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf; "sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;

View file

@ -27,7 +27,7 @@
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/10-bluez.conf" '' (pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/10-bluez.conf" ''
monitor.bluez.properties = { monitor.bluez.properties = {
bluez5.enable-hw-volume = true bluez5.enable-hw-volume = true
bluez5.enable-msbc = true bluez5.enable-msbc = false
bluez5.enable-sbc-xq = true bluez5.enable-sbc-xq = true
bluez5.headset-roles = [ hsp_hs hsp_ag hfp_hf hfp_ag ] bluez5.headset-roles = [ hsp_hs hsp_ag hfp_hf hfp_ag ]
} }

View file

@ -94,16 +94,6 @@
key = "Copy"; key = "Copy";
action = "Copy"; action = "Copy";
} }
{
key = "Q";
mods = "Command";
action = "Quit";
}
{
key = "W";
mods = "Command";
action = "Quit";
}
{ {
key = "Insert"; key = "Insert";
mods = "Shift"; mods = "Shift";

View file

@ -12,6 +12,8 @@
"brscan5-etc-files" "brscan5-etc-files"
"facetimehd-firmware" "facetimehd-firmware"
"slack" "slack"
"uhk-agent"
"uhk-udev-rules"
"veracrypt" "veracrypt"
"zoom" "zoom"
]; ];

View file

@ -77,6 +77,7 @@ in {
obs-studio obs-studio
scan2paperless scan2paperless
wlvncc wlvncc
uhk-agent
]; ];
programs.bash.initExtra = '' programs.bash.initExtra = ''
source ${config.age.secrets.environment-secrets.path} source ${config.age.secrets.environment-secrets.path}