lucasew / nixcfg

Personal Nix/NixOS configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles and Nix/NixOS settings

built with nix

  • home-manager: dotfile manager, runs as a configuration.nix extension

  • the way it is organized its not necessary to place the nix files in the default locations like

    • /etc/nixos/configuration.nix
    • ~/.config/nixpkgs/home.nix
  • multiple interchangeable graphical environments

    • i3: daily driver, working nice, playback buttons works when locked
    • gnone, xfce and kde: not using anymore, may delete later
  • machines referenced:

    • riverwood: my main laptop, Acer A315-51-51SL 12GB RAM 1TB SSD dual booted with windows 10 (i think)
    • whiterun: my battlestation, Ryzen 5600G, 32GB RAM 1TB SSD + 2x1TB DVR HDDs + a RTX 3060 in the future
    • ravenrock: a machine in the cloud, it's provisioned using terraform from infra/turbo/gcp.tf
  • licence

    • nothing special
    • don't blame me
    • have fun
  • suggestions?

    • open a issue
    • let's learn together 😄
  • NixOS > Arch

    • change my mind
    • (yes, I have used arch btw for around 1 year, it's a good distro but NixOS is better for my workflow)
    • nix-shell rocks
    • the possibility of rollback at any time in a simple way, even if the distro fails to boot, is like magic
    • you can also replicate very precisely your configuration on another machine, but only if that is defined in Nix, imperative settings are left behind
    • not perfect but it's really easy to feel physical pain using something else or packaging software that tries to download stuff at build time

About

Personal Nix/NixOS configuration files


Languages

Language:Nix 52.2%Language:Shell 24.9%Language:Python 13.3%Language:HCL 3.3%Language:CSS 2.5%Language:Dockerfile 1.6%Language:Fennel 1.2%Language:Vim Script 0.5%Language:Emacs Lisp 0.4%Language:JavaScript 0.1%