Note: This project should mainly be used as a reference if you are learning how NixOS and/or the Nix package manager works. You can use it on your own systems, however I do not guarantee it will work 100% unless modifications specific to your system are made.
This is my system configuration based on the NixOS Linux Distribution. While this configuration is specific to my use cases and my current hardware, I would suggest to change the configs based on your use cases.
- Download and install NixOS either on a VM or on bare metal.
- Post-installation, download the files using the green colored Code button at the top of this page.
- Now, extract the .zip file, and copy-paste the files in the
/etc/nixos
directory. - After pasting the files, make sure to edit them based on your needs.
- Post editing, run the command
sudo nixos-rebuld switch
and once the process is completed, reboot the system.
Alternatively, the files can be downloaded using the git command line tool with the command git clone https://www.github.com/sid3425/mynixosconfig
provided git is installed on your system.
- Hybrid graphics with offloading support for Nvidia GPUs on laptops(Change the PCI ID's specific to your integrated and dedicated GPUs in the
amd-nvidia.nix
file. If not needed, do not use the file and remove the link from theconfiguration.nix
file) - Sane defaults for
- Development, with many compilers, text editors such as Neovim, VSCode and Kate included as well as Podman and Distrobox for containerized environments
- Gaming with built in Steam and Lutris support
- Security, with enabled firewall and full disk encryption(make sure to set it up while installing NixOS beforehand)
- VirtualBox for easier VM creation
- Privacy-respecting integration with other devices using Syncthing and KDE Connect
- Haruna(an mpv based media player), Elisa audio player and Spotify for multimedia playback
- Graphics tools like Inkscape, Krita and OBS Studio along with Tenacity and Kdenlive for audio and video editing respectively
- Productivity tools like Todoist, and Librewolf and Vivaldi browsers integrated by default
- And many more!
The NixOS Linux distribution should be installed either in a VM or on bare metal. An active internet connection is required to install both the base OS and for the configuration to apply correctly.