Skip to content

matteocavestri/nixos-config

Repository files navigation


Matteo Cavestri's Flakes

NixOS Config

This repository contains my configurations for NixOS and Home Manager. The goal of the project is to build a modular system that can adapt to servers, desktops, and laptops.

Hyprland 1

Getting Started

To start using this configuration, it is necessary to create a hardware configuration in the hardware directory. The configuration imports the hardware-configuration.nix and all the necessary modules for that specific hardware (located in the ./hardware directory). Once the hardware is configured for the machine, other settings can be set from the flake.nix file as follows. If you want to use your /etc/nixos/hardware-configuration.nix you have to rebuild your system using --impure attribute.

Configuration

Set the parameters of userSettings and systemSettings in the flake.nix file to configure the system.

Extra Config

System Settings

Setting Value
system e.g. x86_64-linux
hostname e.g. nixos-t2
timezone e.g. Europe/Rome
locale e.g. it_IT.UTF-8
keymap e.g. it
profile see ./profiles
hardware your machine hw config
nixhw WIP

User Settings

Setting Value
username Your username
name Your name (for git)
email Your emain (for git)
wm e.g. hyprland
theme see ./themes
font e.g. Inconsolata Nerd Font
fontPkg e.g. pkgs.inconsolata-nerdfont
cursor e.g. Numix-Cursor
cursorPkg e.g. pkgs.numix-cursor-theme
icons e.g. Papirus
iconsPkg e.g. pkgs.papirus-icon-theme
term e.g. kitty
browser e.g. firefox
editor e.g. nvim
dotfilesDir e.g, .dotfiles (useful for nh)

DE/WM

  • Gnome
  • Hyprland
  • Cinnamon
  • Pantheon
  • CDE
  • XFCE
  • Plasma
  • Cosmic
  • Mate
  • Budgie
  • Deepin
  • Lumina

Desktop Theming

  • Hyprland
  • Plasma
  • Gnome
  • Budgie

Profiles (Only nix)

Base Profiles:

  • Minimal:
    • hardware
    • gpg config
    • fonts config
    • users config
    • base pkgs
    • systemd config
    • optimization
  • Minimal GUI:
    • all minimal modules
    • window manager config

Editor

I have implemented my text editor based on Nixvim, which is available here

Known Issues

  • Freecad tries to use cursor.pcf --> see Freecad Issue
    • Solution: Change font --> FreeCAD -> Edit -> Preferences -> Python -> Editor -> Display Items -> Text -> Family -> [SOME OTHER FONT]
  • Missing glaxnimate module for kdenlive
  • Pwvucontrol doesn't work on Apple-T2 --> see MacBook Bridge/T2 Linux Driver Issue

About

My NixOS config and dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages