Installing Nixos and Home manager on a Dell Xps 15 and Macbook air

Опубликовано: 24 Октябрь 2024
на канале: NapoleonWils0n
1,269
21

Switching to Nixos and Home Manager from another linux distro isnt too hard but there are some things you need to be aware of which ill try to cover in this video

Nixos works much better on my dell xps15 than ubuntu 22.04 and the nvidia drivers, nvenc and hardware accleration for mpv all work perfectly

Heres a list of the nixos and home manager features and issues

gnome exclude packages you dont want

customize gnome using dconf settings that you would normally change using dconf, gsettings ot gnome tweaks manually

set up nvidia proprietary drivers and nvenc encoding for obs and hardware acceleration for mpv

adding ssh keys to the gnome keyring

Enable Widevine for drm playback in web browser

mpv with mpris script support

set up firefox with extension preinstalled and all the options configured using user.js and css stylesheets

changing the bash shebang in your bash scripts so they work on nixos

gtk settings like enabling dark themes

setting up the zsh shell with autocompletion and syntax highlighting

installing and configuring doas so we can run doas nixos-rebuild switch without a password

when you run the nixos gui installer the hardware-configuration.nix use uuid for the the disk paths, you can change it to use lables instead
using the gnome disk application you can add labels to disc partitions and then change the settings in hardware-configuration.nix to use lables

if home manager doesnt buid because of a depency error for building the home manager man pages you can add the following code to your home.nix file

manual.manpages.enable = false;

if home-manager fails with an error about not being able to stop the tracker-extract-3.service
which is used by gnome search you can disable gnome search by running the following command

systemctl --user mask tracker-extract-3.service

reboot and then run

home-manager switch

and you shouldnt get the error anymore

and then try installing home manager again and it should work

dell xps15 - nixos root
https://github.com/NapoleonWils0n/nix...

macbook air 2011 - nixos root
https://github.com/NapoleonWils0n/nix...

nixos home manager dotfiles
https://github.com/NapoleonWils0n/nix...

nixos
https://nixos.org

nixos manual
https://nixos.org/manual/nixos/stable...

home-manager
https://github.com/nix-community/home...

home-manager install
https://nix-community.github.io/home-...