Skip to content

tolgaerok/nixos-kde-2405

Repository files navigation

My NixOs 24.05 environment, KDE & Nvidia

My NixOS GNOME 24.05 also available !

https://github.com/tolgaerok/nixos-2405-gnome

nixos-2405xcf

HP
Device Specification
BLUE-TOOTH REALTEK 5G
CPU Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz x 8 (Haswell)
GPU NVIDIA GeForce GT 1030/PCIe/SSE2
MODEL HP EliteDesk 800 G1 SFF
MOTHERBOARD Intel® Q87
NETWORK Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz
RAM 28 GB DDR3
SATA SAMSUNG SSD 870 EVO 500GB

Notes:

Update NIXOS to 24.11 - Latest Version.

sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos
sudo nix-channel --update
sudo nixos-rebuild switch --upgrade
  • Install git and some other programs for KDE 6

  • It take some Time.. Just Wait!

nix-env -iA nixos.git     - 53.18 MiB download, 119.48 MiB unpacked
nix-env -iA nixos.hyfetch - 1.80 MiB download, 14.05 MiB unpacked
nix-shell -p kdePackages.plasma-workspace - 1028.37 MiB download, 2834.11 MiB unpacked
nix-shell -p kdePackages.sddm      - 3.49 MiB download, 5.62 MiB unpacked
nix-shell -p kdePackages.full      - 74.62 MiB download, 232.35 MiB unpacked
nix-env -iA nixos.kdePackages.kwin - 188.33 MiB download, 195.40 MiB unpacked
  • You can find many programs here for NIX OS
https://search.nixos.org/packages?channel=unstable

BOOT SPACE ERROR

If you are out of space on your /boot partition then follow the steps in the section below

  • Remove systemd boot, ideally this should be done automatically when systemd-boot is turned off, but 🤷.
bootctl remove

Then:

sudo rm -rf /boot/loader

Fix for /boot being out of space

Rebuild but don't switch and store that config

sudo nixos-rebuild build

Run a garbage collection to remove the old system generation

sudo nix-collect-garbage -d

cd into /boot/kernels/

cd /boot/kernels

List the files and then delete any old kernels, DO NOT DELETE NEW ONES, BE VERY CAREFUL Rebuild and switch

sudo nixos-rebuild switch

Now reboot