Skip to content

yvesh/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS 24.05

Simple multi-machine NixOS Desktop configuration

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.

Overview

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..

Installation

  • 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

Current machine profiles

  • 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))

Older profiles

  • 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)

Overview

boot.nix

Common settings related to the Bootloader, Kernel, Hardware and Mounts.

configuration.nix

Main entry file, includes some basic settings, like users or timezone.

networking.nix

Common network configuration for all my machines.

pkgs.nix

Packages to install (which are not selected through a service, program.. directive)

services.nix

Service (System + User) configuration, Virtualisation..

machines/

Profiles for my different machines. One links to machine.nix

About

NixOS configurations for my systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages