🍝 nixos
my public nixos configuration, system specific configs for...
machine | cpu | gpu | use case |
---|---|---|---|
serv | 9900k | igpu | file server & container host |
erying | 1370p es | igpu | container host |
laptop | 4800hs | gtx1650 | igpu | main machine, general purpose |
notebook | n3700 | igpu | 3d printer |
desktop | 13900kf | rtx3070 | gaming |
these configs are both practical and a learning experience for me, most are in use currently (desktop needs ram, erying stole it).
i've taken snippits of code from all over the web (added links where i remembered to... sorry!), written much of my own and want to contribute my configs hoping they will help others.
comments are included in many modules, some simple, some chicken-scratch from me figuring things out.
see standard.nix, minimal.nix or headless.nix for base packages
in addition any of the hosts default.nix for additional packages with configuration. modules are having options (slowly) added, see /home/hypr/default.nix
please see readme
programs in /home home/pkgname have bindings, themes and exec at boot where applicable. add / remove in hosts/hostname/default.nix FIXME these are changing as per above
some hypr keybind conflicts will apply if you are using multiple applications for the same purpose (wofi / ulauncher for example) I'll eventually add some options to (hopefully) avoid this.
username & plymouth theme configurable in flake.nix, see spaghetti
programs under home come with nix-colors themes, change theme in hosts/hostname/default.nix per system. TODO update this - not correct now :)
clone this repository to your ~/ and not /etc/nixos
cd ~ && git clone https://codeberg.org/kye/nixos
copy contents of your /etc/nixos/hardware-configuration.nix and replace the contents of a hosts hardware.nix of which you plan to use
open the root flake.nix, change the user = "kel";
line to your own username, this will change all home-manager and nixos config files; unless you too are kel
run sudo nixos-rebuild switch --flake /home/username/nixos#hostname --show-trace
while changing username and hostname to what you have configured
things may / will fail, happy to helpout when my time permits
secrets won't work out the box, quick workaround would be replacing my ~/nixos/secrets.json with ~/secrets.example/example.secrets.json
will complain about files in the way in your .config
, delete the files home-manager listed and run another rebuild
TODO script to delete dirs on first rebuild