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

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";
@ -113,18 +114,21 @@
xserver = {
enable = true;
xkb = {
layout = "de";
variant = "";
layout = "de";
variant = "";
};
# desktopManager.gnome.enable = true;
## Enable sound with pipewire.
#services.pulseaudio.enable = false;
};
displayManager.sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
displayManager = {
sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
};
};
# Enable the OpenSSH daemon.
@ -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 = [ ... ];