Giter VIP home page Giter VIP logo

nixos-config's Introduction

❄️ 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!

This Flake also contains a USB Live configuration which aim is to be as close to Tails as possible, in terms of pre-installed packages and security configuration; on top of my usual NixOS environment. It is currently a work in progress as some features are not yet implemented (especially application isolation and some utilities like a Bitcoin wallet).

Main configuration

NixOS release 23.11
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 [email protected]: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 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!

nixos-config's People

Contributors

laliea avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.