Skip to content

LalieA/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ NixOS setup with flakes ❄️

💻 Tuxedo InfinityBook Pro 14 (8th generation)

NixOS is now my everyday system, I hope this repository will help you build yours!

Main configuration

NixOS release 24.05
Display Manager GDM
Window Manager/Compositor Hyprland (Wayland)
Status bar Waybar
Wallpaper Manager hyprpaper
App Launcher anyrun
Notification Center swaync
Screen Locker swaylock-effects
Logout & Power Menu wlogout
IDLE Manager swayidle
Network Manager NetworkManager
Terminal Emulators kitty, Alacritty
Shell zsh + powerlevel10k
Editor Visual Studio Code
File Browser PCManFM
Snapshot & Editing swappy
Miscellaneous TUXEDO Control Center, NetworkManager & Blueman applets, git, ...

Live configuration

Work in progress

How to install and how to manage system's configuration with git

Git handles very well text files such as NixOS configuration ones; I strongly suggest you to use it to keep track of the changes you made and for easy rollback.

The system's configuration is located by default in /etc/nixos. As it is a root directory, it is not practical to initialize a git repository directly in this folder. What could be done is making this directory a symbolic link to a more user friendly one.

Backup your current configuration
sudo mv /etc/nixos /etc/nixos-old
Download this configuration...
cd ~/Documents && git clone git@github.com:LalieA/nixos-config.git
... or initialize yours
cd ~/Documents/nixos-config
cp -R /etc/nixos-old/* .
git init
Create a symbolic link from your friendly directory
sudo ln -s ~/Documents/nixos-config /etc/nixos
And deploy your configuration!
sudo nixos-rebuild switch

What has been tested

  • Wifi
  • Bluetooth
  • Integrated camera
  • Integrated microphone
  • Screen streaming through web-based video conferences
  • Multi-screen (built-in HDMI and 2 screens through USB-C)

What's planned in the future

  • Try to embed this configuration into an ISO image dedicated to installation on another device, with a disk partitionning handled by Disko
  • Handle secrets with sops-nix...
  • ... and setup a LUKS fully encrypted disk...
  • ... with master keys from a YubiKey
  • Still improve this configuration while using it

To make my first steps into Nix and NixOS, I followed the awesome guide from ryan4yin, don't hesitate to check it out!