This is just my base NixOS DESKTOP system configuration. My dotfiles can be found in yvesh/dotfiles (too lazy for homemanager (yet)). Mostly targeted at desktops / notebooks.
OS: NixOS Bar: Xmobar / Polybar / Waybar / Bumblebee-Status (Depending on WM) WM: Sway / Hyprland / Xmonad / BSPWM (Mostly Sway atm) DM: SDDM / none TERM: Kitty / Alacritty / rxvt-unicode / st FS: ext4 with DM-Crypt / Encrypted ZFS Services: podman, docker, libvirtd (Kvm), Apache httpd, flatpak, zfs, xserver, picom, cups, upower, thermald, emacs..
- Download the latest NixOS build from nixos.org
- Boot from it
- Follow the installation instructions for partitioning, base system installation (Personally I am using encrypted ZFS with multiple subvols on most machines)
- Copy this repo to
/etc/nixos
- Create a profile for your machine(s) in the
./machines
directory - Link it to
/etc/nixos/machine.nix
- Do a
nixos-rebuild switch
(depending on your GPU you may need a reboot) - Continue setting up your system, dotfiles etc.
- Don't forget to set a root and user password
- Asus 14 DUO Oled
- Ryzen Desktop (Ryzen 7950X, 96 GB RAM, Radeon 7700 XT)
- ThreadRipper Desktop (7970X, 384 GB Ram, 7700 XT, Nvidia RTX 4090 (for VFIO))
- Ryzen Desktop (Ryzen 5950X, 128 GB RAM, Radeon 5700 XT, Radeon 6600 XT (for VFIO))
- Asus ROG 15 DUO (Ryzen 5900HX, 48 GB RAM, Geforce RTX 3070)
- HP Gen 845 (Ryzen 4750U, 64 GB Ram, AMDGPU)
Common settings related to the Bootloader, Kernel, Hardware and Mounts.
Main entry file, includes some basic settings, like users or timezone.
Common network configuration for all my machines.
Packages to install (which are not selected through a service, program.. directive)
Service (System + User) configuration, Virtualisation..
Profiles for my different machines. One links to machine.nix