Added youtube as a dektop app

This commit is contained in:
2025-10-10 13:09:20 +02:00
parent a695599c3f
commit 713c60bc02
5 changed files with 108 additions and 87 deletions

1
.gitignore vendored Executable file
View File

@ -0,0 +1 @@
hardware-configuration.nix

View File

@ -10,9 +10,10 @@
#Nix flake file limit: ulimit -n 500000
{ config, pkgs, username, ... }:
{ config, pkgs, lib, username, ... }:
{
# in configuration.nix
#Assign Swap to the PC
#swapDevices = [{
# device = "/swapfile";
@ -116,16 +117,19 @@
layout = "de";
variant = "";
};
# desktopManager.gnome.enable = true;
## Enable sound with pipewire.
#services.pulseaudio.enable = false;
};
displayManager.sddm = {
displayManager = {
sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
};
};
# Enable the OpenSSH daemon.
openssh.enable = true;
@ -140,6 +144,8 @@
#In order for dynamically linked executables to work
programs.nix-ld.enable = true;
programs.ssh.askPassword = lib.mkForce "${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass";
programs.steam.enable = true;
# Configure console keymap
@ -208,6 +214,11 @@
# XKB_DEFAULT_LAYOUT = "de";
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];

0
hardware-configuration.nix Normal file → Executable file
View File

View File

@ -24,6 +24,14 @@
# changes in each release.
home.stateVersion = version;
xdg.desktopEntries.youtube = {
name = "YouTube";
exec = "chromium --app=https://www.youtube.com";
terminal = false;
type = "Application";
icon = "applications-multimedia";
categories = [ "AudioVideo" "Player" "Network" ];
};
# Let Home Manager install and manage itself.
programs = {

View File

@ -1,8 +1,7 @@
{config, pkgs, libs, inputs, ...}:
{
environment.systemPackages = with pkgs;
[
#Essentials (CLI Only)
environment.systemPackages = with pkgs; [
#Essenteals (CLI Only)
wget #A tool for quickly downloading things from the Web
micro-with-xclip #Micro text editor with xclip for clipboard
thefuck #Error correction in case commands are wrong. Type: 'fuck'
@ -66,6 +65,8 @@
mediawriter
realvnc-vnc-viewer
eddie #AirVPN desktop client
chromium #For Youtube app to work
kdePackages.bluez-qt
#CLI tools
yt-dlp