silky / nixos-configuration

wip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noonos: nixos-configuration

(Approximate) Usage

(Something like the below works; You'll of course need to do some busywork with your auto-generated hardware nix file.)

Starting from nothing:

  1. Install some kind of nixos,
  2. Edit the /etc/nixos/configuration.nix to have git,
  3. Rebuild ( nixos-rebuild switch )
  4. Clone this repo, silky/nixos-configuration,
  5. cd into this repo and run
nixos-rebuild switch --flake '.' --impure
  1. Happiness!
  2. You can now delete all .nix files in /etc/nixos if you wish.
  3. And otherwise hopefully enjoy your life.

References/inspiration

Todo

  • Set up some timers: https://nixos.wiki/wiki/Systemd/Timers

  • Do something nice with xrandr | jc -xrandr in order to work out

    • How to turn off all monitors aside from the laptop
  • Configure a second user nicely.

  • Describe how to interact with the autogenerated hardware thing.

  • Factor out some common programs across machines.

Trivia

  • Run nix-collect-garbage -d as root, in order to delete everything.

About

wip

License:MIT License


Languages

Language:Nix 63.9%Language:Vim Script 17.1%Language:Haskell 15.1%Language:Emacs Lisp 3.4%Language:Shell 0.5%