add lsfg; use programs gpu screen recorder; remove unused programs; biome lsp is way out of date;

This commit is contained in:
2025-08-01 09:55:42 +01:00
parent 36264583b2
commit e4b45eeb4a
5 changed files with 30 additions and 12 deletions

View File

@@ -39,6 +39,11 @@
services.hardware.openrgb.enable = true; services.hardware.openrgb.enable = true;
services.lsfg-vk = {
enable = true;
ui.enable = true; # installs gui for configuring lsfg-vk
};
# fileSystems."/mnt/HDD1" = { # fileSystems."/mnt/HDD1" = {
# fsType = "ext4"; # fsType = "ext4";
# label = "HDD1"; # label = "HDD1";
@@ -71,8 +76,16 @@
dumpcap.enable = true; dumpcap.enable = true;
}; };
programs.gpu-screen-recorder.enable = true; # For promptless recording on both CLI and GUI
# programs.obs-studio = {
# enable = true;
# enableVirtualCamera = true;
# };
environment.systemPackages = with pkgs;[ environment.systemPackages = with pkgs;[
distrobox distrobox
gpu-screen-recorder-gtk
]; ];
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.

View File

@@ -35,17 +35,14 @@
# media # media
jellyfin-media-player jellyfin-media-player
haruna haruna
fooyin
strawberry
mpc-qt
# misc # misc
electrum electrum
gpu-screen-recorder-gtk
syncthing syncthing
dbeaver-bin dbeaver-bin
ruffle ruffle
popsicle popsicle
# for headset tune # for headset tune
headsetcontrol headsetcontrol
]; ];
@@ -79,11 +76,10 @@
config = { config = {
profile = "gpu-hq"; profile = "gpu-hq";
vo = "gpu-next"; vo = "gpu-next";
gpu-api = "opengl"; gpu-api = "auto";
gpu-context = "wayland"; gpu-context = "auto";
hwdec = "vulkan"; hwdec = "auto";
# screenshot-directory = "/mnt/HDD2/Pictures/"; screenshot-directory = "/mnt/HDD2/Pictures/";
screenshot-directory = "~/Pictures/";
glsl-shaders = "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; glsl-shaders = "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl";
}; };
extraInput = '' extraInput = ''

View File

@@ -29,9 +29,14 @@
url = "github:soupglasses/nix-system-graphics?shallow=1"; url = "github:soupglasses/nix-system-graphics?shallow=1";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
lsfg-vk-flake = {
url = "github:pabloaul/lsfg-vk-flake/main";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, nixos-hardware, home-manager, system-manager, nix-system-graphics, nix-index-database, ... }@inputs: outputs = { self, nixpkgs, nixos-hardware, home-manager, system-manager, nix-system-graphics, nix-index-database, lsfg-vk-flake, ... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@@ -44,6 +49,7 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./devices/tuxedo/configuration.nix ./devices/tuxedo/configuration.nix
lsfg-vk-flake.nixosModules.default
]; ];
}; };
nixosConfigurations.starlite = nixpkgs.lib.nixosSystem { nixosConfigurations.starlite = nixpkgs.lib.nixosSystem {

View File

@@ -18,6 +18,9 @@
# comms # comms
teamspeak_client teamspeak_client
vesktop vesktop
# media
strawberry
]; ];
# set breeze as default cursor # set breeze as default cursor
@@ -62,7 +65,7 @@
}; };
scriptOpts = { scriptOpts = {
uosc = { uosc = {
time_precision = 2; time_precision = 3;
}; };
}; };
}; };

View File

@@ -72,7 +72,7 @@ in
"[jsonc]" = { "[jsonc]" = {
"editor.defaultFormatter" = "biomejs.biome"; "editor.defaultFormatter" = "biomejs.biome";
}; };
"biome.lsp.bin" = "${biome}/bin/biome"; # "biome.lsp.bin" = "${biome}/bin/biome";
#"biome.requireConfigFile" = true; #"biome.requireConfigFile" = true;
"typescript.preferences.preferTypeOnlyAutoImports" = true; "typescript.preferences.preferTypeOnlyAutoImports" = true;