diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..577b0a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +hardware-configuration.nix diff --git a/configuration.nix b/configuration.nix index 0379b3b..ff62024 100755 --- a/configuration.nix +++ b/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"; @@ -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 = [ ... ]; diff --git a/hardware-configuration.nix b/hardware-configuration.nix old mode 100644 new mode 100755 diff --git a/home.nix b/home.nix index caa4f67..37595b3 100755 --- a/home.nix +++ b/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 = { diff --git a/packages.nix b/packages.nix index b7a307c..a693d8e 100755 --- a/packages.nix +++ b/packages.nix @@ -1,86 +1,87 @@ {config, pkgs, libs, inputs, ...}: { - environment.systemPackages = with pkgs; - [ - #Essentials (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' - jdk23 #Java Development Kit 23 - python312 #Python 3.12 - python312Packages.pip #Pip for Python 3.12 - python312Packages.cmake #The CMake tool to manage project build configurations - fastfetch #A utility to see information about your machine - btop #A replacement for htop to see your machines resources - git #Git ... no need to explain - efibootmgr - zip #A utility for ZIP archives - unzip #A utility for ZIP archives - rar #A utility for RAR archives - gnutar #A utility for .tar archives - cron #A tool to set up commands to run scheduled - 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 - konsave #A package to transfer the look and feel of KDE Plasma to other machines - ocs-url - kdePackages.plasma-workspace - kdePackages.kdialog - openssh #SSH - zoxide #Alternatice to cd, browse files - fzf-zsh #Search for file names - coreutils-full - multipath-tools - docker - docker-compose - - #Programming - #jetbrains.pycharm-community #The PyCharm IDE to edit Python code - #jetbrains.idea-community #The IntelliJ IDE to edit Java 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) - rustup #Rust Programming Toolchain - #go #Go Programming Language - gcc - pkg-config - vscode #Editor for all kinds of programms + 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' + jdk23 #Java Development Kit 23 + python312 #Python 3.12 + python312Packages.pip #Pip for Python 3.12 + python312Packages.cmake #The CMake tool to manage project build configurations + fastfetch #A utility to see information about your machine + btop #A replacement for htop to see your machines resources + git #Git ... no need to explain + efibootmgr + zip #A utility for ZIP archives + unzip #A utility for ZIP archives + rar #A utility for RAR archives + gnutar #A utility for .tar archives + cron #A tool to set up commands to run scheduled + 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 + konsave #A package to transfer the look and feel of KDE Plasma to other machines + ocs-url + kdePackages.plasma-workspace + kdePackages.kdialog + openssh #SSH + zoxide #Alternatice to cd, browse files + fzf-zsh #Search for file names + coreutils-full + multipath-tools + docker + docker-compose + + #Programming + #jetbrains.pycharm-community #The PyCharm IDE to edit Python code + #jetbrains.idea-community #The IntelliJ IDE to edit Java 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) + rustup #Rust Programming Toolchain + #go #Go Programming Language + gcc + pkg-config + vscode #Editor for all kinds of programms - #Desktop Applications - vlc - #steam - #heroic - #putty Need to find alternative as it sucks on linux - mission-center - trayscale #sudo tailscale set --operator=$USER --> Needed to make it work! - spotify - rpi-imager - kdePackages.yakuake - #atlauncher - discord - wineWowPackages.stable - winetricks - #whatsapp-for-linux - #obs-studio - #i2p - gparted #Disk partition Manager - #rustdesk - mediawriter - realvnc-vnc-viewer - eddie #AirVPN desktop client - - #CLI tools - yt-dlp - tailscale - speedtest-cli - #duplicati - #ollama - cloudflare-warp - ddrescue - texliveFull #LaTeX PDF maker - lazygit -]; + #Desktop Applications + vlc + #steam + #heroic + #putty Need to find alternative as it sucks on linux + mission-center + trayscale #sudo tailscale set --operator=$USER --> Needed to make it work! + spotify + rpi-imager + kdePackages.yakuake + #atlauncher + discord + wineWowPackages.stable + winetricks + #whatsapp-for-linux + #obs-studio + #i2p + gparted #Disk partition Manager + #rustdesk + mediawriter + realvnc-vnc-viewer + eddie #AirVPN desktop client + chromium #For Youtube app to work + kdePackages.bluez-qt + + #CLI tools + yt-dlp + tailscale + speedtest-cli + #duplicati + #ollama + cloudflare-warp + ddrescue + texliveFull #LaTeX PDF maker + lazygit + ]; -nixpkgs.config.permittedInsecurePackages = [ + nixpkgs.config.permittedInsecurePackages = [ "dotnet-sdk-6.0.428" - "dotnet-runtime-6.0.36" -]; + "dotnet-runtime-6.0.36" + ]; }