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
|
#Nix flake file limit: ulimit -n 500000
|
||||||
|
|
||||||
{ config, pkgs, username, ... }:
|
{ config, pkgs, lib, username, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
# in configuration.nix
|
||||||
#Assign Swap to the PC
|
#Assign Swap to the PC
|
||||||
#swapDevices = [{
|
#swapDevices = [{
|
||||||
# device = "/swapfile";
|
# device = "/swapfile";
|
||||||
@ -113,18 +114,21 @@
|
|||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb = {
|
xkb = {
|
||||||
layout = "de";
|
layout = "de";
|
||||||
variant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
|
# desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
## Enable sound with pipewire.
|
## Enable sound with pipewire.
|
||||||
#services.pulseaudio.enable = false;
|
#services.pulseaudio.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
displayManager.sddm = {
|
displayManager = {
|
||||||
enable = true;
|
sddm = {
|
||||||
theme = "breeze";
|
enable = true;
|
||||||
wayland.enable = true;
|
theme = "breeze";
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
@ -140,6 +144,8 @@
|
|||||||
#In order for dynamically linked executables to work
|
#In order for dynamically linked executables to work
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
|
programs.ssh.askPassword = lib.mkForce "${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass";
|
||||||
|
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
@ -208,6 +214,11 @@
|
|||||||
# XKB_DEFAULT_LAYOUT = "de";
|
# XKB_DEFAULT_LAYOUT = "de";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# 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.
|
# changes in each release.
|
||||||
home.stateVersion = version;
|
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.
|
# Let Home Manager install and manage itself.
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
161
packages.nix
161
packages.nix
@ -1,86 +1,87 @@
|
|||||||
{config, pkgs, libs, inputs, ...}:
|
{config, pkgs, libs, inputs, ...}:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs; [
|
||||||
[
|
#Essenteals (CLI Only)
|
||||||
#Essentials (CLI Only)
|
wget #A tool for quickly downloading things from the Web
|
||||||
wget #A tool for quickly downloading things from the Web
|
micro-with-xclip #Micro text editor with xclip for clipboard
|
||||||
micro-with-xclip #Micro text editor with xclip for clipboard
|
thefuck #Error correction in case commands are wrong. Type: 'fuck'
|
||||||
thefuck #Error correction in case commands are wrong. Type: 'fuck'
|
jdk23 #Java Development Kit 23
|
||||||
jdk23 #Java Development Kit 23
|
python312 #Python 3.12
|
||||||
python312 #Python 3.12
|
python312Packages.pip #Pip for Python 3.12
|
||||||
python312Packages.pip #Pip for Python 3.12
|
python312Packages.cmake #The CMake tool to manage project build configurations
|
||||||
python312Packages.cmake #The CMake tool to manage project build configurations
|
fastfetch #A utility to see information about your machine
|
||||||
fastfetch #A utility to see information about your machine
|
btop #A replacement for htop to see your machines resources
|
||||||
btop #A replacement for htop to see your machines resources
|
git #Git ... no need to explain
|
||||||
git #Git ... no need to explain
|
efibootmgr
|
||||||
efibootmgr
|
zip #A utility for ZIP archives
|
||||||
zip #A utility for ZIP archives
|
unzip #A utility for ZIP archives
|
||||||
unzip #A utility for ZIP archives
|
rar #A utility for RAR archives
|
||||||
rar #A utility for RAR archives
|
gnutar #A utility for .tar archives
|
||||||
gnutar #A utility for .tar archives
|
cron #A tool to set up commands to run scheduled
|
||||||
cron #A tool to set up commands to run scheduled
|
tmux #A tool to let command windows contiune to run in the background
|
||||||
tmux #A tool to let command windows contiune to run in the background
|
home-manager #A package to also edit the user Configuration, like with nix
|
||||||
home-manager #A package to also edit the user Configuration, like with nix
|
konsave #A package to transfer the look and feel of KDE Plasma to other machines
|
||||||
konsave #A package to transfer the look and feel of KDE Plasma to other machines
|
ocs-url
|
||||||
ocs-url
|
kdePackages.plasma-workspace
|
||||||
kdePackages.plasma-workspace
|
kdePackages.kdialog
|
||||||
kdePackages.kdialog
|
openssh #SSH
|
||||||
openssh #SSH
|
zoxide #Alternatice to cd, browse files
|
||||||
zoxide #Alternatice to cd, browse files
|
fzf-zsh #Search for file names
|
||||||
fzf-zsh #Search for file names
|
coreutils-full
|
||||||
coreutils-full
|
multipath-tools
|
||||||
multipath-tools
|
docker
|
||||||
docker
|
docker-compose
|
||||||
docker-compose
|
|
||||||
|
#Programming
|
||||||
#Programming
|
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
|
||||||
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
|
#jetbrains.idea-community #The IntelliJ IDE to edit Java code
|
||||||
#jetbrains.idea-community #The IntelliJ IDE to edit Java code
|
#jetbrains.clion #The CLion IDE to edit and compile c/c++ code
|
||||||
#jetbrains.clion #The CLion IDE to edit and compile c/c++ code
|
#racket #The racket Programming language, with DrRacket IDE, for University (*Not* because it's my favourite)
|
||||||
#racket #The racket Programming language, with DrRacket IDE, for University (*Not* because it's my favourite)
|
rustup #Rust Programming Toolchain
|
||||||
rustup #Rust Programming Toolchain
|
#go #Go Programming Language
|
||||||
#go #Go Programming Language
|
gcc
|
||||||
gcc
|
pkg-config
|
||||||
pkg-config
|
vscode #Editor for all kinds of programms
|
||||||
vscode #Editor for all kinds of programms
|
|
||||||
|
|
||||||
#Desktop Applications
|
#Desktop Applications
|
||||||
vlc
|
vlc
|
||||||
#steam
|
#steam
|
||||||
#heroic
|
#heroic
|
||||||
#putty Need to find alternative as it sucks on linux
|
#putty Need to find alternative as it sucks on linux
|
||||||
mission-center
|
mission-center
|
||||||
trayscale #sudo tailscale set --operator=$USER --> Needed to make it work!
|
trayscale #sudo tailscale set --operator=$USER --> Needed to make it work!
|
||||||
spotify
|
spotify
|
||||||
rpi-imager
|
rpi-imager
|
||||||
kdePackages.yakuake
|
kdePackages.yakuake
|
||||||
#atlauncher
|
#atlauncher
|
||||||
discord
|
discord
|
||||||
wineWowPackages.stable
|
wineWowPackages.stable
|
||||||
winetricks
|
winetricks
|
||||||
#whatsapp-for-linux
|
#whatsapp-for-linux
|
||||||
#obs-studio
|
#obs-studio
|
||||||
#i2p
|
#i2p
|
||||||
gparted #Disk partition Manager
|
gparted #Disk partition Manager
|
||||||
#rustdesk
|
#rustdesk
|
||||||
mediawriter
|
mediawriter
|
||||||
realvnc-vnc-viewer
|
realvnc-vnc-viewer
|
||||||
eddie #AirVPN desktop client
|
eddie #AirVPN desktop client
|
||||||
|
chromium #For Youtube app to work
|
||||||
#CLI tools
|
kdePackages.bluez-qt
|
||||||
yt-dlp
|
|
||||||
tailscale
|
#CLI tools
|
||||||
speedtest-cli
|
yt-dlp
|
||||||
#duplicati
|
tailscale
|
||||||
#ollama
|
speedtest-cli
|
||||||
cloudflare-warp
|
#duplicati
|
||||||
ddrescue
|
#ollama
|
||||||
texliveFull #LaTeX PDF maker
|
cloudflare-warp
|
||||||
lazygit
|
ddrescue
|
||||||
];
|
texliveFull #LaTeX PDF maker
|
||||||
|
lazygit
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"dotnet-sdk-6.0.428"
|
"dotnet-sdk-6.0.428"
|
||||||
"dotnet-runtime-6.0.36"
|
"dotnet-runtime-6.0.36"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user