Code Monkey home page Code Monkey logo

nixos's Introduction

My NixOS configuration

This repository contains my personal NixOS configuration! The setup leverages Nix flakes and integrates Home Manager for the user configuration. As my daily driver, I rely on the Hyprland window manager for Wayland.

Features:

  • Possible multi-user/multi-system setup
  • Encrypted BTRFS partition
  • Ephemeral root setup with opt-in persistence through impermance
  • Consistent theming with catppucccin
  • Declarative Secrets with sops-nix

Installation

To set up a similar environment, one would need to roughly follow theses steps:

  1. Create a BTRFS filesystem with subvolumes /nix, /persist, swap file and root subvolume.
  2. Generate a simple NixOS configuration for your system.
  3. Place the hardware-configuration.nix file from this setup into the hosts/mycomputer folder to configure a new host.
  4. Make new secrets file with login password.
  5. Customize user-specific configurations in the folder home/moritz and adjust the user name accordingly.

Programs I Use

Name Description
Window manager Hyprland
Status bar waybar
Shell zsh
Terminal emulator alacritty
Terminal multiplexer tmux
Editor neovim (managed in a separate repo)
Browser firefox
Mail neomutt with mbsync
Calendar/contacts khal, khard and vdirsyncer
Application launcher fuzzel
Password manager pass with GPG key stored on a YubiKey
PDF reader zathura
Music player ncmpcpp
Colorscheme catpuccin frappe

Credits

Most of the code in this configuration was adapted from this amazing configuration. Check out as well the starter-templates to getting started with Nix flakes.

nixos's People

Contributors

mwaldleben avatar

Stargazers

Carmine Schipani avatar

Watchers

 avatar

nixos's Issues

qt theme

Hello! I made qt theme to follow gtk theme on nixos via home manager and ran into a problem. If you define a shortcut in the hyprland configuration to launch the qt program, it will launch with the default theme, but if you run it via terminal, the theme will be the correct one. I looked at your configuration and you also define qt and gtk themes through the home manager. Have you had the same problem and how did you solve it? Thanks in advance for your answer!

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.