make nix index shallow

readd distrobox
add ts6-client
setup vscode for  python
This commit is contained in:
2025-06-17 19:20:29 +01:00
parent 6981f2cee2
commit 55c0df89fd
7 changed files with 36 additions and 8 deletions

View File

@@ -4,6 +4,14 @@
hardware.graphics.enable32Bit = true; # For 32 bit applications hardware.graphics.enable32Bit = true; # For 32 bit applications
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
programs.gamemode.enable = true;
programs.gamescope = {
enable = true;
# capSysNice = true;
# args = [
# "-H 1080"
# ];
};
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
@@ -26,8 +34,6 @@
]; ];
}; };
}; };
programs.gamemode.enable = true;
programs.gamescope.enable = true;
programs.cdemu.enable = true; # Remember to add users to the cdrom group for this to work programs.cdemu.enable = true; # Remember to add users to the cdrom group for this to work
} }

View File

@@ -20,6 +20,18 @@
networking.hostName = "tuxedo"; # Define your hostname. networking.hostName = "tuxedo"; # Define your hostname.
# one day i will fix the fullscreen issue
# https://community.frame.work/t/fullscreen-games-freeze-on-plasma-6-with-dgpu/61088/9
# https://community.frame.work/t/bug-psa-gpu-bug-causes-crashes-on-kde-plasma/58133/4
# https://www.reddit.com/r/archlinux/comments/1gzy0xd/amdgpu_regression_on_kernel_612_choppy/
# https://forum.manjaro.org/t/unstable-update-october-2024-edition/168715/44
boot.kernelParams = [
# "amdgpu.dcdebugmask=0x410"
# or amdgpu.dcdebugmask=0x010
# or amdgpu.dcdebugmask=0x400
# or both amdgpu.dcdebugmask=0x410
];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options iwlwifi 11n_disable=8 power_save=0 options iwlwifi 11n_disable=8 power_save=0
options iwlmvm power_scheme=1 options iwlmvm power_scheme=1
@@ -48,6 +60,10 @@
dumpcap.enable = true; dumpcap.enable = true;
}; };
environment.systemPackages = with pkgs;[
distrobox
];
# 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.
users.users.worble = { users.users.worble = {
initialPassword = "password"; initialPassword = "password";

View File

@@ -29,6 +29,7 @@
# comms # comms
teams-for-linux teams-for-linux
teamspeak6-client
# media # media
jellyfin-media-player jellyfin-media-player
@@ -76,7 +77,8 @@
config = { config = {
profile = "gpu-hq"; profile = "gpu-hq";
vo = "gpu-next"; vo = "gpu-next";
gpu-api = "vulkan"; gpu-api = "opengl";
gpu-context = "wayland";
hwdec = "vulkan"; hwdec = "vulkan";
screenshot-directory = "/mnt/HDD1/Pictures/"; screenshot-directory = "/mnt/HDD1/Pictures/";
# screenshot-directory = "~/Pictures/"; # screenshot-directory = "~/Pictures/";

View File

@@ -9,7 +9,7 @@
}; };
nix-index-database = { nix-index-database = {
url = "github:nix-community/nix-index-database"; url = "github:nix-community/nix-index-database?shallow=1";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@@ -56,8 +56,6 @@
} }
); );
config = { config = {
video-sync = "display-resample";
interpolation = "yes";
screenshot-directory = "~/Pictures/"; screenshot-directory = "~/Pictures/";
screenshot-template = "%F/%F_snapshot_%P"; screenshot-template = "%F/%F_snapshot_%P";
}; };

View File

@@ -2,10 +2,10 @@
{ {
home.packages = with pkgs;[ home.packages = with pkgs;[
liberation_ttf
ubuntu-sans ubuntu-sans
ubuntu-sans-mono ubuntu-sans-mono
nerd-fonts.space-mono nerd-fonts.space-mono
corefonts
]; ];
fonts.fontconfig = { fonts.fontconfig = {

View File

@@ -31,6 +31,9 @@ in
rust-lang.rust-analyzer rust-lang.rust-analyzer
tamasfe.even-better-toml tamasfe.even-better-toml
mikestead.dotenv mikestead.dotenv
ms-python.python
ms-python.debugpy
charliermarsh.ruff
]) ++ (with vscode-marketplace;[ bradlc.vscode-tailwindcss ]); ]) ++ (with vscode-marketplace;[ bradlc.vscode-tailwindcss ]);
userSettings = with pkgs;{ userSettings = with pkgs;{
"workbench.iconTheme" = "material-icon-theme"; "workbench.iconTheme" = "material-icon-theme";
@@ -38,6 +41,9 @@ in
"workbench.colorTheme" = "Dracula Theme"; "workbench.colorTheme" = "Dracula Theme";
"explorer.compactFolders" = false; "explorer.compactFolders" = false;
"chat.commandCenter.enabled" = false; "chat.commandCenter.enabled" = false;
"terminal.integrated.automationProfile.linux" = {
"path" = "/bin/sh";
};
"editor.fontFamily" = "'SpaceMono Nerd Font', 'monospace', monospace"; "editor.fontFamily" = "'SpaceMono Nerd Font', 'monospace', monospace";
"editor.fontSize" = 16; "editor.fontSize" = 16;
@@ -67,7 +73,7 @@ in
"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;