1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: flake updates for desktop

This commit is contained in:
oddlama 2024-07-17 01:19:07 +02:00
parent 75b4bfd452
commit 9b6c4a0ca6
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 4 additions and 27 deletions

View file

@ -14,7 +14,6 @@ lib.optionalAttrs (!minimal) {
# > cat /proc/asound/card*/pcm*p/sub*/hw_params
# Compare resamplers on: https://src.infinitewave.ca/
sound.enable = false; # ALSA
hardware.pulseaudio.enable = lib.mkForce false;
security.rtkit.enable = true;
services.pipewire = {

17
flake.lock generated
View file

@ -1318,22 +1318,6 @@
"type": "github"
}
},
"nixpkgs-gpu-screen-recorder": {
"locked": {
"lastModified": 1720133070,
"narHash": "sha256-fo/KKxICtGyQAyYwlvwxuCZSyGhoY4MPR55zf02Q104=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "032e70533b134ea30c0359886dcdec547134dbdd",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "032e70533b134ea30c0359886dcdec547134dbdd",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1719876945,
@ -1686,7 +1670,6 @@
"nixos-hardware": "nixos-hardware",
"nixos-nftables-firewall": "nixos-nftables-firewall",
"nixpkgs": "nixpkgs",
"nixpkgs-gpu-screen-recorder": "nixpkgs-gpu-screen-recorder",
"nixvim": "nixvim",
"pre-commit-hooks": "pre-commit-hooks_5",
"stylix": "stylix",

View file

@ -68,7 +68,6 @@
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-gpu-screen-recorder.url = "github:NixOS/nixpkgs/032e70533b134ea30c0359886dcdec547134dbdd";
nixvim = {
url = "github:nix-community/nixvim";

View file

@ -1,4 +1,4 @@
inputs: [
_inputs: [
(import ./caddy.nix)
(import ./scripts)
(_final: prev: {
@ -33,8 +33,6 @@ inputs: [
wrapProgram $out/bin/nvim --add-flags "--clean"
'';
});
gpu-screen-recorder = prev.callPackage "${inputs.nixpkgs-gpu-screen-recorder}/pkgs/applications/video/gpu-screen-recorder/default.nix" {};
gpu-screen-recorder-gtk = prev.callPackage "${inputs.nixpkgs-gpu-screen-recorder}/pkgs/applications/video/gpu-screen-recorder/gpu-screen-recorder-gtk.nix" {};
#pythonPackagesExtensions =
# prev.pythonPackagesExtensions
# ++ [

View file

@ -1,5 +1,4 @@
{
inputs,
config,
lib,
pkgs,
@ -68,6 +67,5 @@ in
services.getty.autologinUser = myuser;
# Allow screen recorder to access the framebuffer as root
imports = ["${inputs.nixpkgs-gpu-screen-recorder}/nixos/modules/programs/gpu-screen-recorder.nix"];
programs.gpu-screen-recorder.wrapCapabilities = true;
programs.gpu-screen-recorder.enable = true;
}

View file

@ -23,8 +23,8 @@
'';
});
in {
home.packages = builtins.trace "WARN: reenable pwndbg later!" [
#pwndbgWithDebuginfod
home.packages = [
pwndbgWithDebuginfod
pkgs.hotspot
];