1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +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 # > cat /proc/asound/card*/pcm*p/sub*/hw_params
# Compare resamplers on: https://src.infinitewave.ca/ # Compare resamplers on: https://src.infinitewave.ca/
sound.enable = false; # ALSA
hardware.pulseaudio.enable = lib.mkForce false; hardware.pulseaudio.enable = lib.mkForce false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {

17
flake.lock generated
View file

@ -1318,22 +1318,6 @@
"type": "github" "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": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1719876945, "lastModified": 1719876945,
@ -1686,7 +1670,6 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixos-nftables-firewall": "nixos-nftables-firewall", "nixos-nftables-firewall": "nixos-nftables-firewall",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-gpu-screen-recorder": "nixpkgs-gpu-screen-recorder",
"nixvim": "nixvim", "nixvim": "nixvim",
"pre-commit-hooks": "pre-commit-hooks_5", "pre-commit-hooks": "pre-commit-hooks_5",
"stylix": "stylix", "stylix": "stylix",

View file

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

View file

@ -1,4 +1,4 @@
inputs: [ _inputs: [
(import ./caddy.nix) (import ./caddy.nix)
(import ./scripts) (import ./scripts)
(_final: prev: { (_final: prev: {
@ -33,8 +33,6 @@ inputs: [
wrapProgram $out/bin/nvim --add-flags "--clean" 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 = #pythonPackagesExtensions =
# prev.pythonPackagesExtensions # prev.pythonPackagesExtensions
# ++ [ # ++ [

View file

@ -1,5 +1,4 @@
{ {
inputs,
config, config,
lib, lib,
pkgs, pkgs,
@ -68,6 +67,5 @@ in
services.getty.autologinUser = myuser; services.getty.autologinUser = myuser;
# Allow screen recorder to access the framebuffer as root # 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.enable = true;
programs.gpu-screen-recorder.wrapCapabilities = true;
} }

View file

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