https://github.com/tolgaerok/nixos-2405-gnome
|
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
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
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