Added youtube as a dektop app
This commit is contained in:
1
.gitignore
vendored
Executable file
1
.gitignore
vendored
Executable file
@ -0,0 +1 @@
|
||||
hardware-configuration.nix
|
||||
@ -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
0
hardware-configuration.nix
Normal file → Executable file
8
home.nix
8
home.nix
@ -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 = {
|
||||
|
||||
13
packages.nix
13
packages.nix
@ -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
|
||||
@ -77,10 +78,10 @@
|
||||
ddrescue
|
||||
texliveFull #LaTeX PDF maker
|
||||
lazygit
|
||||
];
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"dotnet-sdk-6.0.428"
|
||||
"dotnet-runtime-6.0.36"
|
||||
];
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user