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";
|
||||||
@ -116,16 +117,19 @@
|
|||||||
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 = {
|
||||||
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "breeze";
|
theme = "breeze";
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
@ -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 = {
|
||||||
|
|||||||
13
packages.nix
13
packages.nix
@ -1,8 +1,7 @@
|
|||||||
{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'
|
||||||
@ -66,6 +65,8 @@
|
|||||||
mediawriter
|
mediawriter
|
||||||
realvnc-vnc-viewer
|
realvnc-vnc-viewer
|
||||||
eddie #AirVPN desktop client
|
eddie #AirVPN desktop client
|
||||||
|
chromium #For Youtube app to work
|
||||||
|
kdePackages.bluez-qt
|
||||||
|
|
||||||
#CLI tools
|
#CLI tools
|
||||||
yt-dlp
|
yt-dlp
|
||||||
@ -77,10 +78,10 @@
|
|||||||
ddrescue
|
ddrescue
|
||||||
texliveFull #LaTeX PDF maker
|
texliveFull #LaTeX PDF maker
|
||||||
lazygit
|
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