sunshine & vscode splitted to personal modules

This commit is contained in:
2026-03-11 20:11:02 +03:00
parent a32d9c7da9
commit 4a32000313
4 changed files with 42 additions and 8 deletions

View File

@@ -39,7 +39,6 @@
inkscape inkscape
flameshot flameshot
thunderbird thunderbird
vscode-fhs
gcc gcc
python312 python312
python312Packages.nsz python312Packages.nsz

12
apps/sunshine.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:
{
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg
openFirewall = true;
};
environment.systemPackages = [
pkgs.gnome-randr
];
}

28
apps/vscode.nix Normal file
View File

@@ -0,0 +1,28 @@
{ config, pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [
# bbenoist.nix
ms-python.python
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
vscode-extensions.ms-vscode-remote.remote-containers
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "claude-dev";
publisher = "saoudrizwan";
version = "3.71.0";
sha256 = "TzEydphPZ/OmIRJYslFJuk26f97mcIukPDS0WUxMOt4=";
}
{
name = "vscode-mysql-client2";
publisher = "cweijan";
version = "8.4.5";
sha256 = "ypb0TeG5vVEeQIfEUfXYa3VTmP6Dqg7dQispajTBP94=";
}
];
})
];
}

View File

@@ -12,6 +12,8 @@
../apps/apps-list.nix ../apps/apps-list.nix
../apps/firefox.nix ../apps/firefox.nix
../apps/flameshot.nix ../apps/flameshot.nix
../apps/sunshine.nix
../apps/vscode.nix
../desktop-environments/gnome.nix ../desktop-environments/gnome.nix
]; ];
@@ -30,13 +32,6 @@
NIXOS_OZONE_WL = 1; NIXOS_OZONE_WL = 1;
}; };
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg
openFirewall = true;
};
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;